Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
acfd8d6a
Commit
acfd8d6a
authored
Nov 04, 2020
by
Gauthier Quesnel
Browse files
gui: fix node creation position
parent
20af706c
Pipeline
#21852
passed with stage
in 2 minutes and 14 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/gui/node-editor.cpp
View file @
acfd8d6a
...
...
@@ -2589,7 +2589,7 @@ editor::show_editor() noexcept
if
(
new_model
!=
undefined
<
model_id
>
())
{
parent
(
new_model
,
undefined
<
cluster_id
>
());
imnodes
::
SetNode
Grid
SpacePos
(
top
.
emplace_back
(
new_model
),
imnodes
::
SetNode
Screen
SpacePos
(
top
.
emplace_back
(
new_model
),
click_pos
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment