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:
parent
ce03208c5f
commit
da99acbf71
1 changed files with 8 additions and 0 deletions
|
@ -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) { %>
|
||||
|
|
Loading…
Reference in a new issue