From c5e5251a805fc5a26a6bd84e35a3f46ec8737a99 Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Tue, 27 Feb 2001 18:45:49 +0000 Subject: [PATCH] whee --- panda/src/gui/guiLabel.I | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/panda/src/gui/guiLabel.I b/panda/src/gui/guiLabel.I index 8fd865febb..5c81732ee4 100644 --- a/panda/src/gui/guiLabel.I +++ b/panda/src/gui/guiLabel.I @@ -36,10 +36,7 @@ INLINE void GuiLabel::set_width(float f) { _width = 0.; } else { _have_width = true; - if (_type == MODEL) - _width = f / _model_width; - else - _width = f; + _width = f; } this->set_properties(); } @@ -50,10 +47,7 @@ INLINE void GuiLabel::set_height(float f) { _height = 0.; } else { _have_height = true; - if (_type == MODEL) - _height = f / _model_height; - else - _height = f; + _height = f; } this->set_properties(); }