This commit is contained in:
Will McGugan
2022-05-16 11:47:40 +01:00
parent 36dd8b67e8
commit 3e45949a5f
2 changed files with 2 additions and 5 deletions

View File

@@ -6,7 +6,6 @@
transition: color 300ms linear, background 300ms linear;
}
* {
scrollbar-background: $panel-darken-2;
scrollbar-background-hover: $panel-darken-3;

View File

@@ -37,7 +37,6 @@ else: # pragma: no cover
if TYPE_CHECKING:
from .screen import Screen
from .widget import Widget
@@ -214,11 +213,10 @@ class Compositor:
# Keep a copy of the old map because we're going to compare it with the update
old_map = self.map.copy()
# TODO: Handle virtual size
old_widgets = old_map.keys()
map, widgets = self._arrange_root(parent)
old_widgets = self.map.keys()
new_widgets = map.keys()
# Newly visible widgets
shown_widgets = new_widgets - old_widgets
# Newly hidden widgets