Fixed: Image tooltip not showing correctly

--HG--
branch : develop
This commit is contained in:
Nimetu 2017-09-02 23:13:47 +03:00
parent d6dcf7415a
commit 9dce8df546

View file

@ -225,8 +225,6 @@ namespace NLGUI
btn->setTexturePushed(file); btn->setTexturePushed(file);
btn->invalidateCoords(); btn->invalidateCoords();
btn->invalidateContent(); btn->invalidateContent();
btn->resetInvalidCoords();
btn->updateCoords();
paragraphChange(); paragraphChange();
} }
else else
@ -242,8 +240,6 @@ namespace NLGUI
btm->setTexture (file); btm->setTexture (file);
btm->invalidateCoords(); btm->invalidateCoords();
btm->invalidateContent(); btm->invalidateContent();
btm->resetInvalidCoords();
btm->updateCoords();
paragraphChange(); paragraphChange();
} }
else else
@ -254,8 +250,6 @@ namespace NLGUI
btgc->setTexture (file); btgc->setTexture (file);
btgc->invalidateCoords(); btgc->invalidateCoords();
btgc->invalidateContent(); btgc->invalidateContent();
btgc->resetInvalidCoords();
btgc->updateCoords();
paragraphChange(); paragraphChange();
} }
} }