mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
tody
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
transition: color 300ms linear, background 300ms linear;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
scrollbar-background: $panel-darken-2;
|
||||
scrollbar-background-hover: $panel-darken-3;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user