{
  "version": 3,
  "sources": ["../../../../../../../src/lib/tools/SelectTool/childStates/Crop/children/PointingCrop.ts"],
  "sourcesContent": ["import { StateNode, TLEventHandlers, TLPointerEvent } from '@bigbluebutton/editor'\n\nexport class PointingCrop extends StateNode {\n\tstatic override id = 'pointing_crop'\n\n\toverride onCancel: TLEventHandlers['onCancel'] = () => {\n\t\tthis.editor.setCurrentTool('select.crop.idle', {})\n\t}\n\n\toverride onPointerMove: TLPointerEvent = (info) => {\n\t\tif (this.editor.inputs.isDragging) {\n\t\t\tthis.editor.setCurrentTool('select.crop.translating_crop', info)\n\t\t}\n\t}\n\n\toverride onPointerUp: TLPointerEvent = (info) => {\n\t\tthis.editor.setCurrentTool('select.crop.idle', info)\n\t}\n}\n"],
  "mappings": "AAAA,SAAS,iBAAkD;AAEpD,MAAM,qBAAqB,UAAU;AAAA,EAC3C,OAAgB,KAAK;AAAA,EAEZ,WAAwC,MAAM;AACtD,SAAK,OAAO,eAAe,oBAAoB,CAAC,CAAC;AAAA,EAClD;AAAA,EAES,gBAAgC,CAAC,SAAS;AAClD,QAAI,KAAK,OAAO,OAAO,YAAY;AAClC,WAAK,OAAO,eAAe,gCAAgC,IAAI;AAAA,IAChE;AAAA,EACD;AAAA,EAES,cAA8B,CAAC,SAAS;AAChD,SAAK,OAAO,eAAe,oBAAoB,IAAI;AAAA,EACpD;AACD;",
  "names": []
}
