From 26fc53b18b4c2c55c1fb5f0ed46152860e8f5cc2 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 27 Feb 2024 13:25:49 +1100 Subject: [PATCH] fix bad copypaste in docs --- ldoc-stubs/alerts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldoc-stubs/alerts.lua b/ldoc-stubs/alerts.lua index 9b541d84..6fecdd7c 100644 --- a/ldoc-stubs/alerts.lua +++ b/ldoc-stubs/alerts.lua @@ -1,9 +1,9 @@ ---- Module for interacting with playback volume. The Bluetooth and wired outputs store their current volume separately; this API only allows interacting with the volume of the currently used output device. +--- Module for showing transient popups over the current screen. -- @module alerts local alerts = {} ---- Returns the current volume as a percentage of the current volume limit. +--- Shows a new alert, replacing any already visible alerts. -- @tparam function constructor Called to create the UI for the alert. A new default root object and group will be set before calling this function.i Alerts are non-interactable; the group created for the constructor will not be granted focus. function alerts.show(constructor) end