mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-30 05:16:56 -06:00
feat: 复制属性后显示提示
This commit is contained in:
@@ -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