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.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugingui/texturedbox.cc') diff --git a/plugingui/texturedbox.cc b/plugingui/texturedbox.cc index c0391c7..a03eecd 100644 --- a/plugingui/texturedbox.cc +++ b/plugingui/texturedbox.cc @@ -50,6 +50,8 @@ TexturedBox::TexturedBox(ImageCache& image_cache, const std::string& filename, , dy1(dy1) , dy2(dy2) , dy3(dy3) + , _width(dx1 + dx2 + dx3) + , _height(dy1 + dy2 + dy3) { } -- cgit v1.2.3