Skip to content

Commit

Permalink
Update scroll.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
SalavatR authored Aug 4, 2021
1 parent 8d33322 commit 732dad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid/base/scroll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ function Scroll._process_scroll_wheel(self, action_id, action)

if self.drag.can_y then
self.inertion.y = (self.inertion.y + self.style.WHEEL_SCROLL_SPEED * koef) * self.style.FRICT_HOLD
else
elseif self.drag.can_x then
self.inertion.x = (self.inertion.x + self.style.WHEEL_SCROLL_SPEED * koef) * self.style.FRICT_HOLD
end

Expand Down

0 comments on commit 732dad7

Please sign in to comment.