@@ -119,7 +119,6 @@ export class PencilShape extends TLDrawShape<PencilShapeProps> {
)
})
-
@computed get scaleLevel() {
return this.props.scaleLevel ?? 'md'
}
@@ -133,9 +133,7 @@ export class TLViewport {
return this
- /**
- * Animate the camera to the given position
- */
+ /** Animate the camera to the given position */
animateCamera = ({ point, zoom }: { point: number[]; zoom: number }) => {
return this.animateToViewport({
minX: -point[0],
@@ -48,11 +48,7 @@ export const ContextBarContainer = observer(function ContextBarContainer<S exten
return (
- <div
- ref={rBounds}
- className="tl-counter-scaled-positioned"
- aria-label="context-bar-container"
- >
+ <div ref={rBounds} className="tl-counter-scaled-positioned" aria-label="context-bar-container">
<ContextBar
hidden={hidden}
shapes={shapes}