0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-12 16:08:50 -05:00

reduce canvas hit testing in demo when using matter-tools

This commit is contained in:
liabru 2023-08-12 23:18:15 +01:00
parent ce03208c5f
commit da99acbf71

View file

@ -47,6 +47,14 @@
opacity: 0.5;
background: transparent !important;
}
@media only screen and (min-width: 1300px) {
/* reduce hit testing when using matter-tools */
.matter-demo canvas {
position: relative;
z-index: 20;
}
}
</style>
</head>
<body><% for (var chunk in htmlWebpackPlugin.files.js) { %>