Fixed: Image tooltip not showing correctly
--HG-- branch : develop
This commit is contained in:
parent
d6dcf7415a
commit
9dce8df546
1 changed files with 1 additions and 7 deletions
|
@ -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,14 +250,12 @@ namespace NLGUI
|
||||||
btgc->setTexture (file);
|
btgc->setTexture (file);
|
||||||
btgc->invalidateCoords();
|
btgc->invalidateCoords();
|
||||||
btgc->invalidateContent();
|
btgc->invalidateContent();
|
||||||
btgc->resetInvalidCoords();
|
|
||||||
btgc->updateCoords();
|
|
||||||
paragraphChange();
|
paragraphChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Force image width, height
|
// Force image width, height
|
||||||
void CGroupHTML::setImageSize(CViewBase *view, const CStyleParams &style)
|
void CGroupHTML::setImageSize(CViewBase *view, const CStyleParams &style)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue