aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu')
-rw-r--r--src/menu/drawable.cpp1
-rw-r--r--src/menu/reflection.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/menu/drawable.cpp b/src/menu/drawable.cpp
index c21555d7..8bfd5772 100644
--- a/src/menu/drawable.cpp
+++ b/src/menu/drawable.cpp
@@ -42,6 +42,7 @@ namespace usdx
void Drawable::set_visible(bool value)
{
visible = value;
+ draw();
}
const bool Drawable::get_visible(void) const
diff --git a/src/menu/reflection.cpp b/src/menu/reflection.cpp
index e306ba6e..d4a4bbaf 100644
--- a/src/menu/reflection.cpp
+++ b/src/menu/reflection.cpp
@@ -43,6 +43,7 @@ namespace usdx
void Reflection::set_spacing(float value)
{
spacing = value;
+ draw();
}
const float Reflection::get_spacing(void) const