signal ui is next!

This commit is contained in:
Sebastian
2024-11-07 00:01:54 +01:00
parent e519b7c758
commit 96a19d55ef
7 changed files with 18 additions and 15 deletions
+4 -4
View File
@@ -232,10 +232,10 @@ int main(){
if(x < corner_tl.x && y < corner_tl.y) node_tl = n;
if(x > corner_br.x && y > corner_br.y) node_br = n;
if(x < corner_tl.x) corner_tl.x = x;
if(x > corner_br.x) corner_br.x = x;
if(y < corner_tl.y) corner_tl.y = y;
if(y > corner_br.y) corner_br.y = y;
if(x <= corner_tl.x) corner_tl.x = x;
if(x >= corner_br.x) corner_br.x = x;
if(y <= corner_tl.y) corner_tl.y = y;
if(y >= corner_br.y) corner_br.y = y;
}
corner_tl -= Vec2Df(offset, offset);
corner_br += Vec2Df(offset, offset);