mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
train: #7212
This commit is contained in:
commit
9da30de7aa
41 files changed
+217
-8
No files matched your search
@@ -122,6 +122,12 @@ impl Session {
|
||||
self.tool.id()
|
||||
}
|
||||
|
||||
/// The selection tool chosen last (Selection, Direct Selection or Group Selection), which
|
||||
/// `tool.selectLastSelection` chooses: the Selection tool until one is chosen.
|
||||
pub fn last_selection_tool(&self) -> &'static str {
|
||||
self.last_selection_tool.unwrap_or("selection")
|
||||
}
|
||||
|
||||
/// How many times switching or closing documents, or replacing the active one (File › Revert),
|
||||
/// has started the tool afresh, also inside a `command.batch` or `action.batch`. A frontend
|
||||
/// compares it before and after a command.
|
||||
|
||||
Reference in new issue
Block a user