mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
DIRECTOR: Make isMouseIn return false for invisible sprites
This commit is contained in:
parent
1412148344
commit
80b4d55586
@ -198,8 +198,10 @@ bool Channel::isActiveText() {
|
||||
}
|
||||
|
||||
bool Channel::isMouseIn(const Common::Point &pos) {
|
||||
Common::Rect bbox = getBbox();
|
||||
if (!_visible)
|
||||
return false;
|
||||
|
||||
Common::Rect bbox = getBbox();
|
||||
if (!bbox.contains(pos))
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user