mousewheel scroll step now settable

size of mousewheel scroll step now settable

add _base_vals.mwscroll_step to data.

added [mwscroll_step] to  app.toml
This commit is contained in:
onyx-and-iris
2022-04-17 11:50:44 +01:00
parent 99275d1dd2
commit 000b18b6ec
6 changed files with 54 additions and 11 deletions

View File

@@ -1,7 +1,6 @@
import tkinter as tk
from tkinter import ttk
from typing import NamedTuple
from functools import partial
from pathlib import Path
from .errors import VMCompactErrors
@@ -47,6 +46,9 @@ class App(tk.Tk):
"width": 80,
"height": 130,
},
"mwscroll_step": {
"size": 3,
},
"submixes": {
"default": 0,
},
@@ -60,6 +62,8 @@ class App(tk.Tk):
"extends_horizontal"
]
_base_vals.submixes = self.configuration["submixes"]["default"]
_base_vals.mwscroll_step = self.configuration["mwscroll_step"]["size"]
# create menus
self.menus = Menus(self, vmr)
self.styletable = ttk.Style()