Sprites.Media.Sprite.History

The edit history: undo and redo. Window is an independent floating window, shown while its own flag is true, so it can be open in any combination with the other panels, and it carries a close button. Its buttons are Undo and Redo, stand-ins for now until the history actions land. The Windows buttons that open it, the selector and the Tools window live in Sprites.Media.Sprite.Tool.

Sprites.Media.Sprite.History

Sprites.Media.Sprite.History.Window Void

Sprites.Media.Sprite.History.Window(visible)

The History panel's window: a floating panel of Undo and Redo, shown while visible is true, with a close button that clears visible. The buttons are stand-ins for now, each doing nothing until the history actions land.

InputTypeDescription
visibleSprites.Reactive.ValueShows the window while true.

Returns nothing.

const visible = Sprites.Reactive.Value(false);
Sprites.Ui.Button.SetValue(visible, true, 'Open History window');
Sprites.Media.Sprite.History.Window(visible);
Open the History panel; it carries its own close button.