From 4487b6bc4f8f9cf292cca9226f01580027d6ade8 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 8 Apr 2025 11:08:42 +0200 Subject: [PATCH] ranger: missing call for pips drawing --- CHANGELOG.md | 1 + src/client/widgets/sliders/range.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index db481d78..a3187378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/client/widgets/sliders/range.js b/src/client/widgets/sliders/range.js index d89ae3e3..19c65d58 100644 --- a/src/client/widgets/sliders/range.js +++ b/src/client/widgets/sliders/range.js @@ -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)