mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
modules changes
* speedup widget destruction checks * rework outfit module using grid layout and the new design * fixes in console, terminal, textmessage modules
This commit is contained in:
@@ -37,7 +37,7 @@ function HotkeysManager.init()
|
||||
hotkeysWindow = displayUI('hotkeys_manager.otui')
|
||||
|
||||
hotkeysWindow:setVisible(false)
|
||||
hotkeysButton = TopMenu.addButton('hotkeysButton', 'Hotkeys (Ctrl+K)', '/game_hotkeys/icon.png', HotkeysManager.toggle)
|
||||
hotkeysButton = TopMenu.addLeftButton('hotkeysButton', 'Hotkeys (Ctrl+K)', '/game_hotkeys/icon.png', HotkeysManager.toggle)
|
||||
Keyboard.bindKeyDown('Ctrl+K', HotkeysManager.toggle)
|
||||
|
||||
currentHotkeysList = hotkeysWindow:getChildById('currentHotkeys')
|
||||
|
@@ -3,13 +3,13 @@ Module
|
||||
description: Manage client hotkeys
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
|
||||
dependencies:
|
||||
- client_tibiafiles
|
||||
|
||||
onLoad: |
|
||||
- game
|
||||
|
||||
@onLoad: |
|
||||
dofile 'hotkeys_manager'
|
||||
HotkeysManager.init()
|
||||
|
||||
onUnload: |
|
||||
@onUnload: |
|
||||
HotkeysManager.terminate()
|
Reference in New Issue
Block a user