This commit is contained in:
Orion Reed 2024-12-15 15:41:24 -05:00
parent 52063ceee2
commit 1ed7a8e309
1 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,9 @@
background-color: rgba(100, 100, 100, 0.5); background-color: rgba(100, 100, 100, 0.5);
border: 2px solid rgba(0, 0, 0, 0.5); border: 2px solid rgba(0, 0, 0, 0.5);
} }
folk-event-propagator {
pointer-events: none;
}
</style> </style>
</head> </head>
<body> <body>
@ -34,8 +37,8 @@
<folk-shape x="180" y="250" width="65" height="55" rotation="-40"></folk-shape> <folk-shape x="180" y="250" width="65" height="55" rotation="-40"></folk-shape>
<folk-shape x="420" y="150" width="110" height="25" rotation="10"></folk-shape> <folk-shape x="420" y="150" width="110" height="25" rotation="10"></folk-shape>
<folk-shape x="280" y="380" width="75" height="95" rotation="-50"></folk-shape> <folk-shape x="280" y="380" width="75" height="95" rotation="-50"></folk-shape>
<folk-event-propagator source="#shape1" target="#shape2"></folk-event-propagator>
</folk-physics> </folk-physics>
<folk-event-propagator source="#shape1" target="#shape2"></folk-event-propagator>
<script type="module"> <script type="module">
import '../src/standalone/folk-shape.ts'; import '../src/standalone/folk-shape.ts';