build: Add support for x86 macOS 10.15 and ARM64 macOS 11.0 (#2607)

This PR drops the use of brew for dependency management in favor of
macports so we can support lower macOS versions instead of just the
lowest one supported by Apple

Closes #2586
This commit is contained in:
Nik
2026-01-09 17:42:51 +01:00
committed by GitHub
parent 1fb7a318ed
commit d62abaed8d
8 changed files with 54 additions and 67 deletions

View File

@@ -166,7 +166,7 @@ var Module = {
if (status == 1) {
GLFW.active.buttons |= (1 << eventButton);
try {
event.target.setCapture();
event.target.setPointerCapture(event.pointerId);
} catch (e) {}
} else {
GLFW.active.buttons &= ~(1 << eventButton);