Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
9c5760ed
Commit
9c5760ed
authored
Aug 10, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve gl/panel resize behavior by refreshing again 100ms later
parent
6126a155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
panel.py
printrun/gl/panel.py
+3
-1
No files found.
printrun/gl/panel.py
View file @
9c5760ed
...
@@ -72,7 +72,9 @@ class wxGLPanel(wx.Panel):
...
@@ -72,7 +72,9 @@ class wxGLPanel(wx.Panel):
# Make sure the frame is shown before calling SetCurrent.
# Make sure the frame is shown before calling SetCurrent.
self
.
canvas
.
SetCurrent
(
self
.
context
)
self
.
canvas
.
SetCurrent
(
self
.
context
)
self
.
OnReshape
()
self
.
OnReshape
()
self
.
canvas
.
Refresh
(
False
)
self
.
Refresh
(
False
)
timer
=
wx
.
CallLater
(
100
,
self
.
Refresh
)
timer
.
Start
()
event
.
Skip
()
event
.
Skip
()
def
processPaintEvent
(
self
,
event
):
def
processPaintEvent
(
self
,
event
):
...
...
Write
Preview
Markdown
is supported
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