Fix a few little bugs.
This commit is contained in:
parent
3e9047177c
commit
516f20124f
3 changed files with 1 additions and 2 deletions
|
|
@ -137,7 +137,6 @@ namespace guecs {
|
|||
assert(w > 0.0f && "Background.w must be > 0.0f. Forgot $gui.$parser?");
|
||||
assert(h > 0.0f && "Background.h must be > 0.0f. Forgot $gui.$parser?");
|
||||
|
||||
std::cout << "x=" << x << " y=" << y << " w=" << w << " h=" << h << std::endl;
|
||||
sf::Vector2f size{float(w), float(h)};
|
||||
if(shape == nullptr) {
|
||||
shape = make_shared<sf::RectangleShape>(size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue