mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 09:40:42 +00:00
Remove unnecessary calls in TipWindow
This commit is contained in:
parent
b00a187fba
commit
4e7a084ced
@ -26,7 +26,6 @@ PopupWindow::PopupWindow(const base::string& text, ClickBehavior clickBehavior)
|
||||
, m_clickBehavior(clickBehavior)
|
||||
, m_filtering(false)
|
||||
{
|
||||
|
||||
setSizeable(false);
|
||||
setMoveable(false);
|
||||
setWantFocus(false);
|
||||
|
@ -153,16 +153,9 @@ void TooltipManager::onTick()
|
||||
|
||||
TipWindow::TipWindow(const char *text)
|
||||
: PopupWindow(text, kCloseOnClickInOtherWindow)
|
||||
, m_arrowAlign(0)
|
||||
{
|
||||
m_arrowAlign = 0;
|
||||
|
||||
setSizeable(false);
|
||||
setWantFocus(false);
|
||||
setAlign(JI_LEFT | JI_TOP);
|
||||
makeFixed();
|
||||
|
||||
removeDecorativeWidgets();
|
||||
|
||||
initTheme();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user