mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 17:08:13 +08:00
Rename and reorganize several widgets (#1462)
* Rename SwatchPairInput -> WorkingColorsButton * Remove unnecessary Svelte each-loop keys * Rename (and migrate) MenuBarInput -> MenuListButton * Rename PivotAssist -> PivotInput * Rename PersistentScrollbar -> ScrollbarInput and CanvasRuler -> RulerInput * Rename DIalogModal -> Dialog * Rename WidgetRow -> WidgetSpan
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//! Handles modal dialogs that appear as floating menus in the center of the editor window.
|
||||
//! Handles dialogs that appear as floating menus in the center of the editor window.
|
||||
//!
|
||||
//! Dialogs are represented as structs that implement the `DialogLayoutHolder` trait.
|
||||
//!
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::messages::layout::utility_types::widget_prelude::*;
|
||||
use crate::messages::prelude::*;
|
||||
|
||||
/// A dialog for confirming the closing of all documents viewable via `file -> close all` in the menu bar.
|
||||
/// A dialog for confirming the closing of all documents viewable via `File -> Close All` in the menu bar.
|
||||
pub struct CloseAllDocumentsDialog {
|
||||
pub unsaved_document_names: Vec<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user