pads: fix pointsize-margin scaling bug
This commit is contained in:
parent
c5613bf887
commit
78d147d263
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
- buttons: changing `css` background works as expected
|
||||
- widgets: changing `css` (text) color works as expected
|
||||
- fader: fix hidden input in horizontal + compact mode
|
||||
- pads: pips scaling bug
|
||||
- widgets
|
||||
- `css` font-sizes apply correctly to all children (better use percents)
|
||||
- misc
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ module.exports = class Xy extends _pads_base {
|
|||
draw() {
|
||||
|
||||
var pointSize = this.pointSize * PXSCALE,
|
||||
margin = (pointSize + 1) * PXSCALE,
|
||||
margin = (this.pointSize + 1) * PXSCALE,
|
||||
x = this.faders.x.percentToCoord(this.faders.x.percent),
|
||||
y = this.faders.y.percentToCoord(this.faders.y.percent)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue