Version 2.3.1 - bug fixes, hotkeys and anction bars work now in old tibia version (<780)

This commit is contained in:
OTCv8
2020-04-15 21:41:49 +02:00
parent 9a4ab2ae3b
commit 401eb76bba
44 changed files with 101 additions and 47 deletions

View File

@@ -135,7 +135,7 @@ function UIComboBox:onMousePress(mousePos, mouseButton)
end
function UIComboBox:onMouseWheel(mousePos, direction)
if not self.mouseScroll then
if not self.mouseScroll or self.disableScroll then
return false
end
if direction == MouseWheelUp and self.currentIndex > 1 then

View File

@@ -254,7 +254,7 @@ function UIScrollBar:onGeometryChange()
end
function UIScrollBar:onMouseWheel(mousePos, mouseWheel)
if not self.mouseScroll or not self:isOn() then
if not self.mouseScroll or not self:isOn() or self.disableScroll then
return false
end
if mouseWheel == MouseWheelUp then

View File

@@ -23,7 +23,7 @@ function UISpinBox:onSetup()
end
function UISpinBox:onMouseWheel(mousePos, direction)
if not self.mouseScroll then
if not self.mouseScroll or self.disableScroll then
return false
end
if direction == MouseWheelUp then