Skip to content

Commit 46ed4ed

Browse files
committed
rework swapchain (and OOM handling) on iOS
1 parent 6c7ff5e commit 46ed4ed

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

game/ui/videowidget.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ void VideoWidget::keyUpEvent(KeyEvent&) {
234234
}
235235

236236
void VideoWidget::mouseDownEvent(Tempest::MouseEvent& event) {
237+
if(!active) {
238+
event.ignore();
239+
return;
240+
}
237241
#if defined(__MOBILE_PLATFORM__)
238242
stopVideo();
239243
#endif

lib/Tempest

0 commit comments

Comments
 (0)