feat: improve Atlas narrow window responsiveness
This commit is contained in:
@@ -231,7 +231,8 @@ private struct SidebarRouteRow: View {
|
||||
Text(route.subtitle)
|
||||
.font(AtlasTypography.captionSmall)
|
||||
.foregroundStyle(.secondary)
|
||||
.lineLimit(2)
|
||||
.lineLimit(1)
|
||||
.truncationMode(.tail)
|
||||
}
|
||||
} icon: {
|
||||
ZStack {
|
||||
|
||||
@@ -9,7 +9,7 @@ struct AtlasApp: App {
|
||||
WindowGroup(AtlasL10n.string("app.name")) {
|
||||
AppShellView(model: model)
|
||||
.environment(\.locale, model.appLanguage.locale)
|
||||
.frame(minWidth: 1120, minHeight: 720)
|
||||
.frame(minWidth: 940, minHeight: 640)
|
||||
}
|
||||
.commands {
|
||||
AtlasAppCommands(model: model)
|
||||
|
||||
@@ -80,6 +80,7 @@ final class AtlasAppUITests: XCTestCase {
|
||||
let app = XCUIApplication()
|
||||
let stateFile = NSTemporaryDirectory() + UUID().uuidString + "/workspace-state.json"
|
||||
app.launchEnvironment["ATLAS_STATE_FILE"] = stateFile
|
||||
app.launchArguments += ["-ApplePersistenceIgnoreState", "YES"]
|
||||
return app
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user