@@ -313,8 +313,8 @@ class App(Generic[ReturnType], DOMNode):
313
313
scrollbar-background-active: ansi_default;
314
314
scrollbar-color: ansi_blue;
315
315
scrollbar-color-active: ansi_bright_blue;
316
- scrollbar-color-hover: ansi_bright_blue;
317
- scrollbar-corner-color: ansi_default;
316
+ scrollbar-color-hover: ansi_bright_blue;
317
+ scrollbar-corner-color: ansi_default;
318
318
}
319
319
320
320
.bindings-table--key {
@@ -335,18 +335,18 @@ class App(Generic[ReturnType], DOMNode):
335
335
}
336
336
337
337
/* When a widget is maximized */
338
- Screen.-maximized-view {
338
+ Screen.-maximized-view {
339
339
layout: vertical !important;
340
340
hatch: right $panel;
341
341
overflow-y: auto !important;
342
342
align: center middle;
343
343
.-maximized {
344
- dock: initial !important;
344
+ dock: initial !important;
345
345
}
346
346
}
347
347
/* Fade the header title when app is blurred */
348
- &:blur HeaderTitle {
349
- text-opacity: 50%;
348
+ &:blur HeaderTitle {
349
+ text-opacity: 50%;
350
350
}
351
351
}
352
352
*:disabled:can-focus {
@@ -438,7 +438,7 @@ class MyApp(App[None]):
438
438
"""The default value of [Screen.ALLOW_IN_MAXIMIZED_VIEW][textual.screen.Screen.ALLOW_IN_MAXIMIZED_VIEW]."""
439
439
440
440
CLICK_CHAIN_TIME_THRESHOLD : ClassVar [float ] = 0.5
441
- """The maximum number of seconds between clicks to upgrade a single click to a double click,
441
+ """The maximum number of seconds between clicks to upgrade a single click to a double click,
442
442
a double click to a triple click, etc."""
443
443
444
444
BINDINGS : ClassVar [list [BindingType ]] = [
@@ -465,7 +465,7 @@ class MyApp(App[None]):
465
465
466
466
ESCAPE_TO_MINIMIZE : ClassVar [bool ] = True
467
467
"""Use escape key to minimize widgets (potentially overriding bindings).
468
-
468
+
469
469
This is the default value, used if the active screen's `ESCAPE_TO_MINIMIZE` is not changed from `None`.
470
470
"""
471
471
@@ -537,7 +537,7 @@ def __init__(
537
537
538
538
self ._registered_themes : dict [str , Theme ] = {}
539
539
"""Themes that have been registered with the App using `App.register_theme`.
540
-
540
+
541
541
This excludes the built-in themes."""
542
542
543
543
for theme in BUILTIN_THEMES .values ():
@@ -739,7 +739,7 @@ def __init__(
739
739
740
740
self .theme_changed_signal : Signal [Theme ] = Signal (self , "theme-changed" )
741
741
"""Signal that is published when the App's theme is changed.
742
-
742
+
743
743
Subscribers will receive the new theme object as an argument to the callback.
744
744
"""
745
745
0 commit comments