Fixed two uninitialized variables in GridTileComponent.

This commit is contained in:
Leon Styhre 2021-03-16 20:53:53 +01:00
parent 546a30d3ea
commit bd095a719a

View file

@ -42,6 +42,8 @@ GridTileComponent::GridTileComponent(Window* window) :
addChild(&(*mImage));
mSelectedZoomPercent = 0;
mSelected = false;
mVisible = false;
setSelected(false, false);
setVisible(true);