Adding a trail (gradient) behind the position bar (#5543)
* src/gui/editors/SongEditor.cpp * Gradient can be toggled and color can be changed. * Made playback line (and tail) transparent to mouse clicks * Gradient disappears when paused/stopped; tail length depends on zoom * Fixes bug where gradient appears when a pattern is played; style corrections * Cleaned up code * Rename m_zoomLevels to s_zoomLevels * Finalising code * Make positionLine class independent of parent zooming model * Edit a bug fix to make it more efficient * Rename m_x and finalise positionLine code * Rename m_x and finalise positionLine changes * Rename X to playHeadPos
This commit is contained in:
@@ -118,6 +118,11 @@ QMenu::indicator:selected {
|
||||
background-color: #747474;
|
||||
}
|
||||
|
||||
positionLine {
|
||||
qproperty-tailGradient: false;
|
||||
qproperty-lineColor: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
PianoRoll {
|
||||
background-color: rgb(0, 0, 0);
|
||||
qproperty-backgroundShade: rgba( 255, 255, 255, 10 );
|
||||
|
||||
@@ -150,6 +150,11 @@ QMenu::indicator:selected {
|
||||
background-color: #101213;
|
||||
}
|
||||
|
||||
positionLine {
|
||||
qproperty-tailGradient: true;
|
||||
qproperty-lineColor: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
PianoRoll {
|
||||
background-color: #141616;
|
||||
qproperty-backgroundShade: rgba(255, 255, 255, 10);
|
||||
|
||||
Reference in New Issue
Block a user