6ebd41734f
* Fix bug. * Implement `getSelectedElements`. * Explicit condition. * Respect variable naming. * Keep state consistent. * Use `isSomeElementSelected` abstraction. * Missing ones.
32 lines
733 B
TypeScript
32 lines
733 B
TypeScript
export { isOverScrollBars } from "./scrollbars";
|
|
export {
|
|
clearSelection,
|
|
getSelectedIndices,
|
|
deleteSelectedElements,
|
|
isSomeElementSelected,
|
|
getElementsWithinSelection,
|
|
getCommonAttributeOfSelectedElements,
|
|
getSelectedElements,
|
|
} from "./selection";
|
|
export {
|
|
exportCanvas,
|
|
loadFromJSON,
|
|
loadFromBlob,
|
|
saveAsJSON,
|
|
restoreFromLocalStorage,
|
|
saveToLocalStorage,
|
|
exportToBackend,
|
|
importFromBackend,
|
|
loadScene,
|
|
calculateScrollCenter,
|
|
} from "./data";
|
|
export {
|
|
hasBackground,
|
|
hasStroke,
|
|
getElementAtPosition,
|
|
getElementContainingPosition,
|
|
hasText,
|
|
} from "./comparisons";
|
|
export { createScene } from "./createScene";
|
|
export { getZoomOrigin, getZoomTranslation, getNormalizedZoom } from "./zoom";
|