Allow left-click drag to scroll in Static preview mode
This commit is contained in:
+1
-3
@@ -1539,13 +1539,11 @@ openPreviewWindow = function()
|
||||
end
|
||||
end,
|
||||
onmousedown = function(ev)
|
||||
-- Static mode: right-click drag to scroll
|
||||
-- Static mode: any click drag to scroll
|
||||
if S.previewMode == "static" then
|
||||
if ev.button == MouseButton.RIGHT then
|
||||
S.previewStaDragging = true
|
||||
S.previewStaDragLastX = ev.x
|
||||
S.previewStaDragLastY = ev.y
|
||||
end
|
||||
return
|
||||
end
|
||||
-- In single mode: L-click=prev anim, R-click=next anim
|
||||
|
||||
Reference in New Issue
Block a user