From 9dce8df5469b360821373ac36f4af86e55f5ef31 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Sat, 2 Sep 2017 23:13:47 +0300 Subject: [PATCH] Fixed: Image tooltip not showing correctly --HG-- branch : develop --- code/nel/src/gui/group_html.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index e616f56bd..b185c67c3 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -225,8 +225,6 @@ namespace NLGUI btn->setTexturePushed(file); btn->invalidateCoords(); btn->invalidateContent(); - btn->resetInvalidCoords(); - btn->updateCoords(); paragraphChange(); } else @@ -242,8 +240,6 @@ namespace NLGUI btm->setTexture (file); btm->invalidateCoords(); btm->invalidateContent(); - btm->resetInvalidCoords(); - btm->updateCoords(); paragraphChange(); } else @@ -254,14 +250,12 @@ namespace NLGUI btgc->setTexture (file); btgc->invalidateCoords(); btgc->invalidateContent(); - btgc->resetInvalidCoords(); - btgc->updateCoords(); paragraphChange(); } } } } - + // Force image width, height void CGroupHTML::setImageSize(CViewBase *view, const CStyleParams &style) {