mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: shell and quick equipment frame invalidations
This commit is contained in:
1 parent
3e2bfc453a
commit
5cf8e48747
13 files changed
+77
-51
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { EventManager } from '@blitzkit/core';
|
||||
import { invalidate } from '@react-three/fiber';
|
||||
|
||||
export interface ModelTransformEventData {
|
||||
yaw?: number;
|
||||
@@ -7,4 +6,6 @@ export interface ModelTransformEventData {
|
||||
}
|
||||
|
||||
export const modelTransformEvent = new EventManager<ModelTransformEventData>();
|
||||
modelTransformEvent.on(() => invalidate());
|
||||
modelTransformEvent.on(() => {
|
||||
// invalidate();
|
||||
});
|
||||
Reference in new issue
Block a user