fix fab at left default

This commit is contained in:
Gabe Yuan
2023-08-17 16:22:04 +08:00
parent 53c32f2bd8
commit 01676bc682

View File

@@ -76,7 +76,7 @@ export default function Action({ translator, fab }) {
windowSize,
width: fabWidth,
height: fabWidth,
left: fab.x ?? windowSize.w - fabWidth,
left: fab.x ?? 0,
top: fab.y ?? windowSize.h / 2,
};