Skip to content

Commit

Permalink
Fix: Added tab and text color properties that were missing on speed a…
Browse files Browse the repository at this point in the history
…nd acceleration sliders.
  • Loading branch information
Javier O. Cordero Pérez committed Aug 21, 2021
1 parent 9ffede3 commit 4181dc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/kirigami_ui/EditorToolbar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ ToolBar {
}
Label {
text: i18n("Base speed:") + " " + baseSpeedSlider.value.toFixed(2)
color: Kirigami.Theme.textColor
Layout.topMargin: 4
Layout.bottomMargin: 4
Layout.leftMargin: 8
Expand All @@ -605,6 +606,7 @@ ToolBar {
value: 1.5
to: 5
stepSize: 0.01
focusPolicy: Qt.TabFocus
onMoved: {
viewport.__baseSpeed = value;
prompter.focus = true;
Expand All @@ -625,6 +627,7 @@ ToolBar {
}
Label {
text: i18n("Acceleration curvature:") + " " + baseAccelerationSlider.value.toFixed(2)
color: Kirigami.Theme.textColor
Layout.topMargin: 4
Layout.bottomMargin: 4
Layout.leftMargin: 8
Expand All @@ -636,6 +639,7 @@ ToolBar {
value: 1.15
to: 2
stepSize: 0.01
focusPolicy: Qt.TabFocus
onMoved: {
viewport.__curvature=value;
prompter.focus = true;
Expand Down

0 comments on commit 4181dc9

Please sign in to comment.