🎉 集成everything
This commit is contained in:
@@ -26,7 +26,10 @@ namespace GeekDesk.Converts
|
||||
return config.WindowWidth - config.MenuCardWidth;
|
||||
} else if (WidthTypeEnum.RIGHT_CARD_HALF == type)
|
||||
{
|
||||
return (config.WindowWidth - config.MenuCardWidth) / 2;
|
||||
return (config.WindowWidth - config.MenuCardWidth) * 0.8;
|
||||
} else if (WidthTypeEnum.RIGHT_CARD_HALF_TEXT == type)
|
||||
{
|
||||
return (config.WindowWidth - config.MenuCardWidth) * 0.8 - config.ImageWidth - 20;
|
||||
}
|
||||
|
||||
return config.WindowWidth;
|
||||
|
||||
Reference in New Issue
Block a user