mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
too many changes to list, many regressions were made, master will be UNSTABLE for a few days
This commit is contained in:
@@ -5,9 +5,9 @@ local currentToolTip
|
||||
|
||||
-- private functions
|
||||
local function moveToolTip(tooltip)
|
||||
local pos = getMouseCursorPos()
|
||||
local pos = g_window.getMousePos()
|
||||
pos.y = pos.y + 1
|
||||
local xdif = getScreenSize().width - (pos.x + tooltip:getWidth())
|
||||
local xdif = g_window.getSize().width - (pos.x + tooltip:getWidth())
|
||||
if xdif < 2 then
|
||||
pos.x = pos.x - tooltip:getWidth() - 3
|
||||
else
|
||||
|
@@ -4,6 +4,7 @@ Module
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
autoLoad: true
|
||||
autoLoadPriority: 2
|
||||
dependencies:
|
||||
- core
|
||||
|
||||
|
Reference in New Issue
Block a user