mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-19 06:03:27 +02:00
Version 2.3.1 - bug fixes, hotkeys and anction bars work now in old tibia version (<780)
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user