mirror of
https://git.hmsn.ink/kospo/helptalk/api.git
synced 2026-03-20 21:53:34 +09:00
first
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export default function rectToClientRect(rect) {
|
||||
return Object.assign({}, rect, {
|
||||
left: rect.x,
|
||||
top: rect.y,
|
||||
right: rect.x + rect.width,
|
||||
bottom: rect.y + rect.height
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user