import Moveable from "lit-moveable"; import { LitElement, html } from "lit"; import { customElement, property } from "lit/decorators.js"; @customElement("lit-app") export default class App extends LitElement { render() { return html `

* There is a subpixel issue because offsetLeft and offsetTop are used.

* You can accurately represent the position of a movable control box.

* However, since gBCR is used, css zoom should not be used

* and ` transform: rotate` should not be used for container, rootContainer.

Not Accurate
Accurate
`; } onRender(e) { e.target.style.cssText += e.cssText; } onRender$0(e) { e.target.style.cssText += e.cssText; } }