summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-10-23 17:35:26 -0200
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-10-23 17:35:26 -0200
commit43f947856a6ce58fb5b168680c53fd7652f63f46 (patch)
tree161f2e3169ccdd72c48e00fb4ef6bf3d59274c71 /Project/Workspace.cpp
parentb1b026397c58c45c46ca7a525fb1e98b20ddfab8 (diff)
downloadPSP.git-43f947856a6ce58fb5b168680c53fd7652f63f46.tar.gz
PSP.git-43f947856a6ce58fb5b168680c53fd7652f63f46.tar.xz
PSP.git-43f947856a6ce58fb5b168680c53fd7652f63f46.zip
Text element reimplemented
Diffstat (limited to 'Project/Workspace.cpp')
-rw-r--r--Project/Workspace.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Workspace.cpp b/Project/Workspace.cpp
index c1bf800..dfdf65f 100644
--- a/Project/Workspace.cpp
+++ b/Project/Workspace.cpp
@@ -1387,7 +1387,8 @@ void Workspace::SetElementList(std::vector<Element*> elementList)
void Workspace::OnIdle(wxIdleEvent& event)
{
- // TODO: Find other solution to text displayed wrong on opened file.
+ // The OpenGL element (m_glCanvas) must be completely initialized (showed) to draw properly the textures.
+ // TODO(?): Find other solution to text displayed wrong on opened file.
if(m_justOpened) {
m_justOpened = false;
UpdateTextElements();