Add global baseGIFSpeed property to DebugConsole

for great debugging
This commit is contained in:
miruka 2020-09-02 15:56:13 -04:00
parent bed19eb117
commit 3f339b7bb9
2 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Image {
// Online GIFs won't be able to loop if cache is set to false, // Online GIFs won't be able to loop if cache is set to false,
// but caching GIFs is expansive. // but caching GIFs is expansive.
cache: ! Qt.resolvedUrl(source).startsWith("file://") cache: ! Qt.resolvedUrl(source).startsWith("file://")
speed: image.speed speed: window.mainUI.debugConsole.baseGIFSpeed * image.speed
paused: paused:
! visible || window.hidden || image.pause || image.forcePause ! visible || window.hidden || image.pause || image.forcePause

View File

@ -40,6 +40,7 @@ HDrawer {
) )
property bool doUselessThing: false property bool doUselessThing: false
property real baseGIFSpeed: 1.0
readonly property alias commandsView: commandsView readonly property alias commandsView: commandsView