tuanchris 3 месяцев назад
Родитель
Сommit
17fa87dca7

+ 5 - 5
dune-weaver-touch/qml/pages/ExecutionPage.qml

@@ -569,12 +569,12 @@ Page {
                                     id: speedControlRow
                                     width: parent.width
                                     spacing: 8
-                                    
-                                    property string currentSelection: backend ? backend.getCurrentSpeedOption() : "200"
-                                    
-                                    // Speed buttons
+
+                                    property string currentSelection: backend ? backend.getCurrentSpeedOption() : "150"
+
+                                    // Speed buttons - dynamically loaded from backend
                                     Repeater {
-                                        model: ["50", "100", "200", "300", "500"]
+                                        model: backend ? backend.getSpeedOptions() : ["50", "100", "150", "200", "500"]
                                         
                                         Rectangle {
                                             width: (speedControlRow.width - 32) / 5  // Distribute evenly with spacing

+ 0 - 7
dune-weaver-touch/qml/pages/TableControlPage.qml

@@ -185,13 +185,6 @@ Page {
                                     id: portMenu
                                     y: parent.height
 
-                                    // Counter-rotate menu to compensate for parent's 180° rotation
-                                    transform: Rotation {
-                                        origin.x: portMenu.width / 2
-                                        origin.y: 0
-                                        angle: 180
-                                    }
-
                                     Repeater {
                                         model: serialPorts
                                         MenuItem {