Close the gap between the flashcards study screen and the mockup
Add real session-history navigation (Previous/Next/Shuffle), compact
side panels, and a segmented progress row to match the mockup layout.
Flashcards now opens straight into Study, with library management
moved into the Options menu ("Manage Flashcards") and Export hidden
from the UI (Import stays). Shuffle is backed by a real, due-before-new
randomized pick on the backend, not a decorative toggle.
This commit is contained in:
@@ -51,9 +51,9 @@ func _run() -> void:
|
||||
var light_icon_box := (light_row.get_child(0) as PanelContainer).get_theme_stylebox("panel") as StyleBoxFlat
|
||||
_assert(light_icon_box.bg_color.is_equal_approx(Brand.icon_circle_box(false, Brand.ROYAL_BLUE, 20).bg_color),
|
||||
"a basic card's type icon should use its light accent styling")
|
||||
var light_menu_box := hub.export_menu.get_theme_stylebox("panel") as StyleBoxFlat
|
||||
var light_menu_box := hub.import_menu.get_theme_stylebox("panel") as StyleBoxFlat
|
||||
_assert(light_menu_box.bg_color.is_equal_approx(Brand.panel_box(false).bg_color),
|
||||
"the export menu panel should also restyle to the light surface after a theme toggle")
|
||||
"the import menu panel should also restyle to the light surface after a theme toggle")
|
||||
|
||||
theme_service.set_dark_mode(prior_dark)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user