From e2e84c93b5938e7309179c942decd6cda561aa52 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Tue, 25 Mar 2025 15:53:30 -0300 Subject: [PATCH] :boom: ags(runner): show result placeholders when runner opens --- ags/runner/Runner.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ags/runner/Runner.ts b/ags/runner/Runner.ts index dcddb90..d7700ae 100644 --- a/ags/runner/Runner.ts +++ b/ags/runner/Runner.ts @@ -106,6 +106,12 @@ export namespace Runner { expand: true } as Gtk.ListBox.ConstructorProps); + if(placeholder) { + const placeholderWidgets = placeholder(); + placeholderWidgets.map(widget => + resultsList.insert(widget, -1)); + } + // Init plugins plugins.forEach(plugin => plugin.init && plugin.init());