Skip to content

Commit

Permalink
Close mods
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Oct 2, 2024
1 parent 9cbeeec commit 6b0a3f0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions js/main/setting_props.js
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,16 @@ App.build_settings = () => {
info: `Menu to show when clicking the Close Button`,
version: 1,
},
middle_click_close_button: {
name: `Middle Click Close`,
type: `menu`,
value: `unload_tabs`,
info: `Command to run when middle clicking the Close Button`,
version: 1,
setup: (key) => {
App.settings_cmdlist_single(key)
},
},
close_button_padding: {
name: `Close Button Padding`,
type: `number`,
Expand Down Expand Up @@ -2511,16 +2521,6 @@ App.build_settings = () => {
App.settings_cmdlist_single(key)
},
},
middle_click_close_button: {
name: `Middle Click Close`,
type: `menu`,
value: `unload_tabs`,
info: `Command to run when middle clicking the Close Button`,
version: 1,
setup: (key) => {
App.settings_cmdlist_single(key)
},
},
}

add_props()
Expand Down

0 comments on commit 6b0a3f0

Please sign in to comment.