mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-18 19:19:10 +00:00
Minor fix in Tabs::calculateHot() detecting the area to close a tab
This commit is contained in:
parent
8c6f55cc41
commit
7839a6761a
@ -615,7 +615,7 @@ void Tabs::calculateHot()
|
||||
|
||||
SkinTheme* theme = static_cast<SkinTheme*>(this->getTheme());
|
||||
gfx::Rect rect = getBounds();
|
||||
gfx::Rect box(rect.x, rect.y, 0, rect.h-1);
|
||||
gfx::Rect box(rect.x+m_border*guiscale(), rect.y, 0, rect.h-1);
|
||||
gfx::Point mousePos = ui::get_mouse_position();
|
||||
Tab* hot = NULL;
|
||||
bool hotCloseButton = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user