shyzus / gnome-shell-extension-screen-autorotate

Enable screen rotation regardless of touch mode
GNU General Public License v3.0
33 stars 10 forks source link

Update preferences code and add debug mode #18

Closed shyzus closed 1 year ago

shyzus commented 1 year ago

Is your feature request related to a problem? Please describe. The current code that creates and defines the preferences window is written according to an old example and does not use the newer Adw library.

Additionally, I want the preferences window to expose the ability to enable a debug mode where its possible for the user to modify things to ease debugging. In the event of undesired behavior or crashing.

Describe the solution you'd like Prefs.js to be rewritten according to the latest examples given at GJS.guide.

Added toggle to enable debug mode and expose elements such orientation to be manually set when debug mode is enabled.

Describe alternatives you've considered None

Additional context None