图形交互插件app类型调整

This commit is contained in:
dong 2023-09-18 15:14:18 +08:00
parent 3e1bbc92bf
commit e301c68687

View File

@ -4,11 +4,7 @@ import {
FederatedPointerEvent,
Point,
} from 'pixi.js';
import {
IGraphicApp,
IGraphicAppConfig,
IGraphicScene,
} from '../app/JlGraphicApp';
import { IGraphicAppConfig, IGraphicScene } from '../app/JlGraphicApp';
import { JlGraphic } from '../core/JlGraphic';
export enum InteractionPluginType {
@ -417,10 +413,10 @@ export abstract class GraphicInteractionPlugin<G extends JlGraphic>
implements InteractionPlugin
{
readonly _type = InteractionPluginType.Graphic;
app: IGraphicApp;
app: IGraphicScene;
name: string; // 唯一标识
_pause: boolean;
constructor(name: string, app: IGraphicApp) {
constructor(name: string, app: IGraphicScene) {
this.app = app;
this.name = name;
this._pause = true;