From 01676bc68289831a676960fd6933cc495813ed36 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Thu, 17 Aug 2023 16:22:04 +0800 Subject: [PATCH] fix fab at left default --- src/views/Action/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Action/index.js b/src/views/Action/index.js index 12c951a..2f883aa 100644 --- a/src/views/Action/index.js +++ b/src/views/Action/index.js @@ -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, };