From 7c074d96d8b6c93bf76bb093aab124c267287668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 16 Apr 2017 12:55:19 +0200 Subject: Fix bug in TexturedBox where width and height were wrong. --- plugingui/texturedbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/texturedbox.h') diff --git a/plugingui/texturedbox.h b/plugingui/texturedbox.h index d393b22..dc84183 100644 --- a/plugingui/texturedbox.h +++ b/plugingui/texturedbox.h @@ -101,14 +101,14 @@ private: Texture seg_h; Texture seg_i; - std::size_t _width{100}; - std::size_t _height{100}; std::size_t dx1; std::size_t dx2; std::size_t dx3; std::size_t dy1; std::size_t dy2; std::size_t dy3; + std::size_t _width{100}; + std::size_t _height{100}; Colour outOfRange{0.0f, 0.0f, 0.0f, 0.0f}; }; -- cgit v1.2.3