mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01: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:
@@ -13,6 +13,13 @@ Module
|
||||
load-later:
|
||||
- game_textmessage
|
||||
- game_console
|
||||
- game_outfit
|
||||
//- game_healthbar
|
||||
//- game_inventory
|
||||
//- game_combatcontrols
|
||||
//- game_skills
|
||||
//- game_viplist
|
||||
//- game_hotkeys
|
||||
|
||||
@onLoad: |
|
||||
importStyle 'styles/items.otui'
|
||||
|
||||
@@ -211,7 +211,7 @@ function GameInterface.processMouseAction(menuPosition, mouseButton, autoWalk, l
|
||||
return true
|
||||
end
|
||||
|
||||
if not Options.classicControl then
|
||||
if not Options['classicControl'] then
|
||||
if keyboardModifiers == KeyboardNoModifier and mouseButton == MouseRightButton then
|
||||
GameInterface.createThingMenu(menuPosition, lookThing, useThing, creatureThing)
|
||||
return true
|
||||
|
||||
@@ -26,7 +26,7 @@ UIWidget
|
||||
|
||||
GameSidePanel
|
||||
id: gameLeftPanel
|
||||
width: 190
|
||||
width: 0
|
||||
layout: verticalBox
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
|
||||
Reference in New Issue
Block a user