♻️ 开启虚拟化防止卡顿, 增加自适应宽度
This commit is contained in:
@@ -30,6 +30,9 @@ namespace GeekDesk.Converts
|
||||
} else if (WidthTypeEnum.RIGHT_CARD_HALF_TEXT == type)
|
||||
{
|
||||
return (config.WindowWidth - config.MenuCardWidth) * 0.618 - config.ImageWidth - 20;
|
||||
} else if (WidthTypeEnum.RIGHT_CARD_20 == type)
|
||||
{
|
||||
return (config.WindowWidth - config.MenuCardWidth) - 20;
|
||||
}
|
||||
|
||||
return config.WindowWidth;
|
||||
|
||||
Reference in New Issue
Block a user