Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/notes/bugfix-22322.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Fix graphical artefacts after removing focus from a group when using acceleratedRendering on mobile
6 changes: 6 additions & 0 deletions engine/src/group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,12 @@ Boolean MCGroup::doubleup(uint2 which)
return False;
}

uint2 MCGroup::gettransient(void) const
{
// OVERRIDE - groups do not have a transient focus border
return 0;
}

void MCGroup::applyrect(const MCRectangle &nrect)
{
bool t_size_changed;
Expand Down
1 change: 1 addition & 0 deletions engine/src/group.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class MCGroup : public MCControl, public MCMixinObjectHandle<MCGroup>
virtual Boolean mup(uint2 which, bool p_release);
virtual Boolean doubledown(uint2 which);
virtual Boolean doubleup(uint2 which);
virtual uint2 gettransient(void) const;
virtual void applyrect(const MCRectangle &nrect);

virtual void removereferences(void);
Expand Down