init stub arranger
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-08-24 03:22:06 +03:00
parent f81f16b47b
commit d10107684d
5 changed files with 37 additions and 27 deletions

View file

@ -10,7 +10,8 @@ impl<'t> DslNs<'t, Arc<str>> for App {
impl<'t> DslNs<'t, bool> for App {
dsl_words!(|app| -> bool {
":focused/editor" => app.project.editor.is_some(),
":mode/editor" => app.project.editor.is_some(),
":focused/dialog" => !matches!(app.dialog, Dialog::None),
":focused/message" => matches!(app.dialog, Dialog::Message(..)),
":focused/add_device" => matches!(app.dialog, Dialog::Device(..)),