style: run prettier

pull/8197/head
Konstantinos Kaloutas 2023-01-04 19:21:09 +02:00 committed by Tienson Qin
parent 121e1ebe15
commit 1eb94092f0
3 changed files with 2 additions and 9 deletions

View File

@ -119,7 +119,6 @@ export class PencilShape extends TLDrawShape<PencilShapeProps> {
)
})
@computed get scaleLevel() {
return this.props.scaleLevel ?? 'md'
}

View File

@ -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],

View File

@ -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}