mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Merge branch 'master' of github.com:libremapping/libremapping
This commit is contained in:
+5
-1
@@ -40,7 +40,10 @@ MapperGLCanvas::MapperGLCanvas(wxFrame *parent) :
|
||||
}
|
||||
|
||||
void MapperGLCanvas::Paintit(wxPaintEvent& WXUNUSED(event)) {
|
||||
//GetParent()->Refresh();
|
||||
|
||||
//GetParent()->Refresh();
|
||||
//sleep(1);
|
||||
|
||||
Render();
|
||||
}
|
||||
|
||||
@@ -81,6 +84,7 @@ void MapperGLCanvas::OnChar(wxKeyEvent & event)
|
||||
p.y += yMove;
|
||||
quad.setVertex(current, p);
|
||||
|
||||
GetParent()->Refresh();
|
||||
Render();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user