mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
* Stop using getTransform Fixes #861 The original motivation behind this is to make it work with Firefox. But it also helped make the code more intentional. Test Plan: - Create one square, select it, zoom in repeatedly, make sure that it zooms centered in the screen and everything looks good - Scroll at various zoom levels, things look good - Export a small scene at 1x and 3x, make sure the background is properly set and look good * fix selection element
20 lines
567 B
TypeScript
20 lines
567 B
TypeScript
export { isOverScrollBars } from "./scrollbars";
|
|
export {
|
|
getSelectedIndices,
|
|
deleteSelectedElements,
|
|
isSomeElementSelected,
|
|
getElementsWithinSelection,
|
|
getCommonAttributeOfSelectedElements,
|
|
getSelectedElements,
|
|
getTargetElement,
|
|
} from "./selection";
|
|
export { normalizeScroll, calculateScrollCenter } from "./scroll";
|
|
export {
|
|
hasBackground,
|
|
hasStroke,
|
|
getElementAtPosition,
|
|
getElementContainingPosition,
|
|
hasText,
|
|
} from "./comparisons";
|
|
export { createScene } from "./createScene";
|
|
export { getZoomOrigin, getNormalizedZoom } from "./zoom";
|