2 Commits 4ab5a23aca ... d3e460e5df

Autor SHA1 Mensagem Data
  Jochem Raat d3e460e5df Merge branch 'master' of https://notabug.org/raatmarien/PWS-Procedural-Island-Generator 9 anos atrás
  Jochem Raat 589b11de86 Draw the GUI over the maps 9 anos atrás
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/guiFrontend.cpp

+ 3 - 3
src/guiFrontend.cpp

@@ -277,7 +277,7 @@ void GUIFrontend::handleEvents()
 
 void GUIFrontend::draw()
 {
-    drawGUI();
+    window->clear(Color(200, 200, 200));
 
     if (mapGenerated) {
         if (currentView == HEIGHTMAP)
@@ -297,12 +297,12 @@ void GUIFrontend::draw()
 
         window->draw(displaySprite);
     }
+
+    drawGUI();
 }
 
 void GUIFrontend::drawGUI()
 {
-    window->clear(Color(200, 200, 200));
-
     // Labels
     seedBox->draw(window);
     nameBox->draw(window);