mirror of
https://github.com/yankooliveira/sd-webui-photopea-embed.git
synced 2026-04-24 00:09:13 +00:00
Adds "Send to Photopea" button from 'Extras' gallery.
Also creates new document in case sent image is bigger than the currently open document.
This commit is contained in:
@@ -73,3 +73,7 @@ function selectionExists() {
|
||||
// exists, but bounds only has values if a selection exists.
|
||||
app.echoToOE(app.activeDocument.selection.bounds != null);
|
||||
}
|
||||
|
||||
function getActiveDocumentSize() {
|
||||
app.echoToOE(app.activeDocument.width + "," + app.activeDocument.height);
|
||||
}
|
||||
Reference in New Issue
Block a user