Skip to content

Commit

Permalink
Fix #10 where Thumbnailer.state.thumbnail_size on pl_next
Browse files Browse the repository at this point in the history
  • Loading branch information
Zren committed Jun 5, 2022
1 parent 1fff74d commit de3860a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osc_tethys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,9 @@ function renderThumbnailTooltip(pos, sliderPos, ass)
end

local thumb_size = Thumbnailer.state.thumbnail_size
if thumb_size == nil then
return
end
local thumbGlobalWidth = thumb_size.w
local thumbGlobalHeight = thumb_size.h
local thumbWidth = math.floor(thumbGlobalWidth * scaleX)
Expand Down

0 comments on commit de3860a

Please sign in to comment.