(hopefully) fixed reactive decimals bug

This commit is contained in:
Robert Jelic
2025-05-09 03:29:43 +02:00
parent b0660a36bf
commit 14548d9632
2 changed files with 16 additions and 6 deletions

View File

@@ -63,7 +63,6 @@ end
--- @return boolean handled Whether the event was handled
--- @protected
function Slider:mouse_click(button, x, y)
self.basalt.LOGGER.debug("Slider:mouse_click", button, x, y)
if self:isInBounds(x, y) then
local relX, relY = self:getRelativePosition(x, y)
local pos = self.get("horizontal") and relX or relY