-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix intro/outro marker and zoom reset
- Loading branch information
1 parent
8d650e9
commit 3d9deed
Showing
4 changed files
with
95 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import "." as Skin | ||
import Mixxx 1.0 as Mixxx | ||
import QtQuick 2.12 | ||
|
||
import "Theme" | ||
|
||
Skin.Button { | ||
id: root | ||
|
||
required property string keyPrefix | ||
required property string group | ||
|
||
activeColor: Theme.deckActiveColor | ||
highlight: enabledControl.value | ||
|
||
Mixxx.ControlProxy { | ||
id: control | ||
|
||
group: root.group | ||
key: `${root.keyPrefix}_activate` | ||
value: root.down | ||
} | ||
|
||
Mixxx.ControlProxy { | ||
id: enabledControl | ||
|
||
group: root.group | ||
key: `${root.keyPrefix}_enabled` | ||
} | ||
|
||
Mixxx.ControlProxy { | ||
id: cleanControl | ||
|
||
group: root.group | ||
key: `${root.keyPrefix}_clear` | ||
value: mousearea.pressed && enabledControl.value | ||
} | ||
|
||
MouseArea { | ||
id: mousearea | ||
|
||
anchors.fill: parent | ||
acceptedButtons: Qt.RightButton | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters