Skip to content

Commit

Permalink
Merge pull request #136 from SalavatR/develop
Browse files Browse the repository at this point in the history
Update scroll.lua
  • Loading branch information
Insality authored Aug 7, 2021
2 parents ecc6e27 + 732dad7 commit b4560da
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 b4560da

Please sign in to comment.