Skip to content

Commit

Permalink
always use camelCase for events
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Nov 17, 2023
1 parent 9049973 commit 12e648c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/twopoint5d/src/events.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import type {WebGLRenderer} from 'three';
import type {IStageRenderer, StageType} from './stage/IStageRenderer.js';

export const StageAdded = 'stageadded';
export const StageAdded = 'stageAdded';

export interface StageAddedProps {
stage: StageType;
renderer: IStageRenderer;
}

export const StageRemoved = 'stageremoved';
export const StageRemoved = 'stageRemoved';

export interface StageRemovedProps {
stage: StageType;
renderer: IStageRenderer;
}

export const StageRenderFrame = 'stagerenderframe';
export const StageRenderFrame = 'stageRenderFrame';

export interface StageRenderFrameProps {
width: number;
Expand Down

0 comments on commit 12e648c

Please sign in to comment.