mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-17 07:35:10 +00:00
feat: 复制属性后显示提示
This commit is contained in:
1 parent
7ea6a424e9
commit
f8ddb5a0a8
1 file changed
+5
@@ -188,6 +188,11 @@ pub fn invoke(app: &mut FigApp, id: &str) {
|
||||
"collab.join" => crate::live::open_join(app, ""),
|
||||
// So is the server address for publishing (it carries the server key).
|
||||
"collab.publish" => crate::live::open_publish(app),
|
||||
"edit.copyProperties" => {
|
||||
if app.run(id, json!({})).is_some() {
|
||||
app.toast(tr("Properties copied"));
|
||||
}
|
||||
}
|
||||
"edit.copy" | "edit.cut" => {
|
||||
let ids = app.session.selection();
|
||||
// For other apps: text layers' text, other layers as SVG; taken before a cut removes them.
|
||||
|
||||
Reference in new issue
Block a user