Skip to content

Commit 654aaa3

Browse files
committed
Thumbnail: simplify enable check
1 parent 2fa0424 commit 654aaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Thumbnail.moon

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Thumbnail extends BarAccent
3131
redraw: =>
3232
if @active
3333
super!
34-
if Mouse.x != @lastX and not @thumbfast.disabled and @thumbfast.width >= 0 and @thumbfast.height >= 0
34+
if Mouse.x != @lastX and not @thumbfast.disabled
3535
@lastX = Mouse.x
3636

3737
hoverTime = mp.get_property_number( 'duration', 0 ) * Mouse.x / Window.w

0 commit comments

Comments
 (0)