mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-18 00:48:05 +01:00
[Canvas group] Fix error on creation.
This commit is contained in:
parent
af6aa7d533
commit
72c1b8ec7a
2 changed files with 10 additions and 8 deletions
|
@ -16,10 +16,12 @@ event_inherited();
|
||||||
server = network_create_server_raw(network_socket_ws, port, 32);
|
server = network_create_server_raw(network_socket_ws, port, 32);
|
||||||
} until(server >= 0 || attmp++ >= 100);
|
} until(server >= 0 || attmp++ >= 100);
|
||||||
|
|
||||||
|
if(!IS_PATREON) {
|
||||||
var _url = @"www.patreon.com/oauth2/authorize?response_type=code
|
var _url = @"www.patreon.com/oauth2/authorize?response_type=code
|
||||||
&client_id=oZ1PNvUY61uH0FiA7ZPMBy77Xau3Ok9tfvsT_Y8DQwyKeMNjaVC35r1qsK09QJhY
|
&client_id=oZ1PNvUY61uH0FiA7ZPMBy77Xau3Ok9tfvsT_Y8DQwyKeMNjaVC35r1qsK09QJhY
|
||||||
&redirect_uri=https://pixel-composer.com/verify";
|
&redirect_uri=https://pixel-composer.com/verify";
|
||||||
_url += $"&state={port}";
|
_url += $"&state={port}";
|
||||||
|
|
||||||
url_open(_url);
|
url_open(_url);
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
|
@ -246,8 +246,8 @@ function Node_Canvas_Group(_x, _y, _group) : Node_Collection(_x, _y, _group) con
|
||||||
_output.inputs[0].setFrom(_compose.outputs[0]);
|
_output.inputs[0].setFrom(_compose.outputs[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static drawOverlay = function(hover, active, _x, _y, _s, _mx, _my, _snx, _sny) {
|
static drawOverlay = function(hover, active, _x, _y, _s, _mx, _my, _snx, _sny, params) {
|
||||||
if(canvas_sel) canvas_sel.drawOverlay(hover, active, _x, _y, _s, _mx, _my, _snx, _sny);
|
if(canvas_sel) canvas_sel.drawOverlay(hover, active, _x, _y, _s, _mx, _my, _snx, _sny, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
static drawTools = function(_mx, _my, xx, yy, tool_size, hover, focus) {
|
static drawTools = function(_mx, _my, xx, yy, tool_size, hover, focus) {
|
||||||
|
|
Loading…
Reference in a new issue