Feedback: review r1 fixes
This commit is contained in:
18 files changed
+250
-83
No files matched your search
+1
-3
@@ -25,9 +25,7 @@ type LoadingOverlayResult struct {
|
||||
Canceled bool
|
||||
}
|
||||
|
||||
// LoadingOverlay builds content and, while loading, covers it with a
|
||||
// spinner and label. Covered content takes no pointer, keys or focus;
|
||||
// the rest of the window stays usable. Focus inside moves to the overlay.
|
||||
// LoadingOverlay covers content while loading, blocking input to that region only.
|
||||
func LoadingOverlay(c *ui.Context, loading bool, opts LoadingOverlayOptions, content func()) LoadingOverlayResult {
|
||||
if content == nil {
|
||||
panic("mujica: LoadingOverlay needs content")
|
||||
|
||||
Reference in new issue
Block a user