2 Revīzijas 4ab5a23aca ... d3e460e5df

Autors SHA1 Ziņojums Datums
  Jochem Raat d3e460e5df Merge branch 'master' of https://notabug.org/raatmarien/PWS-Procedural-Island-Generator 9 gadi atpakaļ
  Jochem Raat 589b11de86 Draw the GUI over the maps 9 gadi atpakaļ
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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);