added option key remap

This commit is contained in:
aomizu
2025-06-08 21:21:33 +09:00
parent fec5577d57
commit ac893a1c19
8 changed files with 647 additions and 12 deletions

View File

@@ -21,6 +21,8 @@ func showOptionsPopup() {
metalHudCheckbox,
showTerminalCheckbox,
vanillaTweaksCheckbox,
widget.NewSeparator(),
container.NewBorder(nil, nil, nil, container.NewHBox(enableOptionAsAltButton, disableOptionAsAltButton), optionAsAltStatusLabel),
)
envVarsTitle := widget.NewLabel("Environment Variables")
@@ -55,8 +57,8 @@ func showOptionsPopup() {
// Get the window size and calculate 2/3 size
windowSize := currentWindow.Content().Size()
popupWidth := windowSize.Width * 2 / 3
popupHeight := windowSize.Height * 2 / 3
popupWidth := windowSize.Width * 5 / 6
popupHeight := windowSize.Height * 5 / 6
// Create a modal popup
popup := widget.NewModalPopUp(popupContent, currentWindow.Canvas())