ranger: missing call for pips drawing

This commit is contained in:
jean-emmanuel 2025-04-08 11:08:42 +02:00
parent dc9f1435e3
commit 4487b6bc4f
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,7 @@
- file browser: drive listing failing on recent windows
- root: `hideMenu` not working when `--read-only` is set
- combining `--read-only` and `--fullscreen` now disables `F11` on built-in client
- regression breaking `pips` for range widget
- widgets
- add `onTouch` to all container widgets

View file

@ -384,6 +384,11 @@ class Range extends Fader {
}
if (this.shouldDrawPips) {
this.drawPips()
this.shouldDrawPips = false
}
if (this.getProp('pips')) {
this.ctx.globalAlpha = 1
this.ctx.drawImage(this.pips, 0, 0)