mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Lower the priority of showing chapter popover
This commit is contained in:
2
src/controls.js
vendored
2
src/controls.js
vendored
@@ -463,7 +463,7 @@ class ClapperControls extends Gtk.Box
|
|||||||
debug(`changing chapter visibility to: ${isVisible}`);
|
debug(`changing chapter visibility to: ${isVisible}`);
|
||||||
|
|
||||||
this[`chapter${type}Id`] = GLib.idle_add(
|
this[`chapter${type}Id`] = GLib.idle_add(
|
||||||
GLib.PRIORITY_DEFAULT_IDLE,
|
GLib.PRIORITY_DEFAULT_IDLE + 20,
|
||||||
() => {
|
() => {
|
||||||
if(isVisible) {
|
if(isVisible) {
|
||||||
const [start, end] = this.positionScale.get_slider_range();
|
const [start, end] = this.positionScale.get_slider_range();
|
||||||
|
Reference in New Issue
Block a user