mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
FactorioClientGUI.py: disable multitouch emulation on mouse
This commit is contained in:
@@ -46,7 +46,7 @@ async def main():
|
|||||||
|
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
from kivy.uix.label import Label
|
from kivy.uix.label import Label
|
||||||
from kivy.base import ExceptionHandler, ExceptionManager
|
from kivy.base import ExceptionHandler, ExceptionManager, Config
|
||||||
from kivy.uix.gridlayout import GridLayout
|
from kivy.uix.gridlayout import GridLayout
|
||||||
from kivy.uix.textinput import TextInput
|
from kivy.uix.textinput import TextInput
|
||||||
from kivy.uix.recycleview import RecycleView
|
from kivy.uix.recycleview import RecycleView
|
||||||
@@ -133,6 +133,7 @@ class E(ExceptionHandler):
|
|||||||
ExceptionManager.add_handler(E())
|
ExceptionManager.add_handler(E())
|
||||||
|
|
||||||
|
|
||||||
|
Config.set("input", "mouse", "mouse,disable_multitouch")
|
||||||
Builder.load_string('''
|
Builder.load_string('''
|
||||||
<TabbedPanel>
|
<TabbedPanel>
|
||||||
tab_width: 200
|
tab_width: 200
|
||||||
|
Reference in New Issue
Block a user