Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Fixes bug in Touch Bar Timeline Zoom Widget
- Closes #888
  • Loading branch information
latenitefilms committed Dec 16, 2017
1 parent f2a1f82 commit f423ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/finalcutpro/touchbar/widgets/zoom.lua
Expand Up @@ -101,7 +101,7 @@ function mod.widget()
if m == "mouseDown" or m == "mouseMove" then
local appearance = fcp:timeline():toolbar():appearance()
if appearance then
appearance:show():zoomAmount():setValue(x / 10)
appearance:show():zoomAmount():setValue(x/(canvasWidth/10))
end
elseif m == "mouseUp" then
local appearance = fcp:timeline():toolbar():appearance()
Expand Down

0 comments on commit f423ab1

Please sign in to comment.