Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
a43a1ec1
Commit
a43a1ec1
authored
Nov 04, 2014
by
Maxime Perrotin
Browse files
Fix symbol positionning when loading
parent
5b1f6c7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode.py
View file @
a43a1ec1
...
...
@@ -438,6 +438,11 @@ class SDL_Scene(QtGui.QGraphicsScene, object):
symbol
.
update_connections
()
for
child
in
symbol
.
childItems
():
fix_pos_from_ast
(
child
)
# Update the position anyway, because
# depending on the host platform, the exact
# pixel position and size of symbols can
# vary - due to font rendering, etc.
child
.
update_position
()
except
AttributeError
:
# no AST
pass
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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