Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
osc: move sneak out of the hideable menu
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzz committed Oct 6, 2019
1 parent f006ed3 commit a4cf252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/ui/controls/Osc.kt
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ class Osc {
btnTopToggle,
OscImageButton("inventory", OscVisibility.NULL,
R.drawable.inventory, 940, 95, 3, true),
OscImageButton("crouch", OscVisibility.NORMAL,
R.drawable.sneak, 940 - TOP_BAR_SPACING, 0, 113),
OscImageButton("pause", OscVisibility.ESSENTIAL,
R.drawable.pause, 940, 0, KeyEvent.KEYCODE_ESCAPE),
OscImageButton("magic", OscVisibility.NORMAL,
Expand Down Expand Up @@ -412,9 +414,7 @@ class Osc {
R.drawable.wait, TOP_BAR_SPACING * 4, 0, KeyEvent.KEYCODE_T),
OscCustomButton("keyboard", OscVisibility.NULL,
R.drawable.keyboard, TOP_BAR_SPACING * 5, 0) { toggleKeyboard() },
btnMouse,
OscImageButton("crouch", OscVisibility.NORMAL,
R.drawable.sneak, TOP_BAR_SPACING * 7, 0, 113)
btnMouse
)

elements.addAll(fnButtons)
Expand Down

0 comments on commit a4cf252

Please sign in to comment.