fix: drag works from first attempt + size in window header
- ui.tsx: pass min/max opts to useWindowResize (fixes first-drag bug)
- ui.tsx: move live size to top toolbar (left of expand button)
- main.ts: set figma window title with startup size via showUI({title})
This commit is contained in:
1 parent
3bff4241d6
commit
26d391f90a
2 files changed
+11
-7
No files matched your search
+1
-1
@@ -10,5 +10,5 @@ export default function () {
|
||||
figma.ui.resize(width, height)
|
||||
})
|
||||
|
||||
showUI({ width: 320, height: 200, themeColors: true })
|
||||
showUI({ width: 320, height: 200, themeColors: true, title: 'AI assistant (MVP) — 320×200' })
|
||||
}
|
||||
Reference in new issue
Block a user