Skip to content

Commit

Permalink
tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine committed Jul 17, 2023
1 parent c3cb2ee commit dc9de9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/lang/ui-core/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,10 @@
"description": "",
"message": "No middle mouse button available"
},
"NO_MOUSE_MIDDLE_BUTTON_DESC": {
"description": "",
"message": "Select to fall back to using left mouse button to grab/spin objects"
},
"IN_CARGO_HOLD": {
"description": "",
"message": "In cargo hold"
Expand Down
2 changes: 1 addition & 1 deletion data/pigui/modules/settings-window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ local function showControlsOptions()
c,mouseYInvert = checkbox(lui.INVERT_MOUSE_Y, mouseYInvert)
if c then Input.SetMouseYInverted(mouseYInvert) end

c,mouseMiddleButton = checkbox(lui.NO_MOUSE_MIDDLE_BUTTON, mouseMiddleButton)
c,mouseMiddleButton = checkbox(lui.NO_MOUSE_MIDDLE_BUTTON, mouseMiddleButton, lui.NO_MOUSE_MIDDLE_BUTTON_DESC)
if c then Input.SetMouseMiddleButton(mouseMiddleButton) end

c,joystickEnabled = checkbox(lui.ENABLE_JOYSTICK, joystickEnabled)
Expand Down

0 comments on commit dc9de9c

Please sign in to comment.