Fix background to animate with thumbnails
When we animating the scale for the thumbnails, the border and background should wrap around the current size of the thumbails. The technique that we are using to animate the scale breaks that since we don't animate the overall size of the thumbnails box - we just animate our child actors within the allocation. To fix this, switch from drawing the background by packing in another container to drawing the background with a separate actor that is under the other actors and allocated by our custom logic. https://bugzilla.gnome.org/show_bug.cgi?id=641881
This commit is contained in:
@ -261,19 +261,19 @@ StTooltip StLabel {
|
||||
}
|
||||
|
||||
.workspace-controls {
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
visible-width: 32px; /* Amount visible before hovering */
|
||||
}
|
||||
|
||||
.workspace-thumbnails-background {
|
||||
border: 1px solid #424242;
|
||||
border-right: 0px;
|
||||
border-radius: 9px 0px 0px 9px;
|
||||
background: #071524;
|
||||
visible-width: 32px; /* Amount visible before hovering */
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.workspace-thumbnails {
|
||||
spacing: 7px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.workspace-thumbnail-indicator {
|
||||
|
Reference in New Issue
Block a user