Updated to OTCv8 3.1 rev 157

This commit is contained in:
OTCv8
2022-03-17 20:50:37 +00:00
parent 1d7d2f0c2b
commit 19fad11949
114 changed files with 2172 additions and 984 deletions

View File

@@ -1,4 +1,3 @@
---@diagnostic disable: undefined-global
bottomActionPanel1 = nil
bottomActionPanel2 = nil
bottomActionPanel3 = nil
@@ -235,8 +234,6 @@ function setupAction(action)
local chatMode = not modules.game_walking.wsadWalking
if not lockKeyboard or not chatMode then
print('lock', lockKeyboard)
print('chatMode', chatMode)
executeAction(action, ticks)
end
end

View File

@@ -1,17 +1,9 @@
ActionButton < Panel
font: cipsoftFont
anchors.top: parent.top
anchors.bottom: parent.bottom
width: 40
padding: 1 1 1 1
margin-left: 1
draggable: true
$first:
anchors.left: parent.left
$!first:
anchors.left: prev.right
Item
id: item
@@ -91,6 +83,7 @@ Panel
anchors.right: next.left
margin-right: 3
clipping: true
layout: horizontalBox
TabButton
id: nextButton

View File

@@ -1,18 +1,13 @@
SideActionButton < Panel
font: cipsoftFont
anchors.left: parent.left
anchors.right: parent.right
height: 40
padding: 1 1 1 1
margin-top: 1
draggable: true
$first:
anchors.top: parent.top
margin-top: -3
margin-top: -4
$!first:
anchors.top: prev.bottom
margin-top: -1
Item
id: item
@@ -92,6 +87,7 @@ Panel
anchors.bottom: next.top
margin-top: 3
clipping: true
layout: verticalBox
TabButton
id: nextButton