mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 07:29:33 +08:00
移除未使用的底部控制栏高度变量
This commit is contained in:
@@ -261,7 +261,6 @@ const initPanelPosition = () => {
|
|||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
const bounds = getImageDisplayBounds()
|
const bounds = getImageDisplayBounds()
|
||||||
const panelWidth = Math.min(bounds.width * 0.9, 448) // max-w-md = 448px
|
const panelWidth = Math.min(bounds.width * 0.9, 448) // max-w-md = 448px
|
||||||
const bottomControlHeight = 80 // 底部控制栏高度
|
|
||||||
|
|
||||||
infoPanelPos.value = {
|
infoPanelPos.value = {
|
||||||
x: bounds.left + (bounds.width - panelWidth) / 2,
|
x: bounds.left + (bounds.width - panelWidth) / 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user