csharpdeeb25a2 | 1 | #nullable enable |
| 2 | namespace CascadeIDE.Views.Chat; |
| 3 | |
| 4 | /// <summary>Метрики нижнего chrome Intercom (Command Deck) для layout и тестов.</summary> |
| 5 | internal static class SkiaIntercomComposerLayout |
| 6 | { |
| 7 | public static float MeasureBottomChromeHeight( |
| 8 | bool showComposer, |
| 9 | bool showSlashPopup, |
| 10 | int slashRowCount, |
| 11 | string composerText, |
| 12 | float surfaceWidth, |
| 13 | bool showCommandLine = false, |
| 14 | string? commandLinePreview = null, |
| 15 | string? composerSlashPreview = null) => |
| 16 | SkiaIntercomCommandDeckLayout.MeasureTotalHeight( |
| 17 | surfaceWidth, |
| 18 | showComposer, |
| 19 | showCommandLine, |
| 20 | commandLinePreview, |
| 21 | composerText, |
| 22 | showSlashPopup, |
| 23 | slashRowCount, |
| 24 | composerSlashPreview: composerSlashPreview); |
| 25 | } |
| 26 | |
View only · write via MCP/CIDE