|
@@ -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);
|