Skip to content

Add enableShiftScroll setting and related functionality#31

Merged
leafOfTree merged 1 commit intoleafOfTree:masterfrom
larry-xue:master
Jun 30, 2025
Merged

Add enableShiftScroll setting and related functionality#31
leafOfTree merged 1 commit intoleafOfTree:masterfrom
larry-xue:master

Conversation

@larry-xue
Copy link
Copy Markdown
Contributor

This pr introduces a new setting, enableShiftScroll, that allows you to control the behavior of mouse wheel tab switching.

Changes include:

  • Added enableShiftScroll to SettingsRec in WtProgram/Settings.fs, defaulting to true.
  • Updated settings serialization in WtProgram/Settings.fs to handle the new setting.
  • Modified WtProgram/GroupPlugins/MouseScrollPlugin.fs to read the enableShiftScroll setting and adjust its behavior - accordingly.
  • Added a checkbox in the Behavior settings view (WtProgram/ManagerViewService/Views/BehaviorView.fs) to allow you to toggle - this new setting. The checkbox label will be generated as "Enable Shift Scroll".

@larry-xue
Copy link
Copy Markdown
Contributor Author

Sorry for the multiple pull/close actions. I noticed some problems in my initial commits that require correction.

@leafOfTree leafOfTree merged commit 104e9c9 into leafOfTree:master Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants