mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 05:08:13 +08:00
Remove the application title from the header bar
This commit is contained in:
@@ -139,12 +139,9 @@ export class UpdateWirePathInProgress extends JsMessage {
|
||||
|
||||
export class OpenDocument {
|
||||
readonly id!: bigint;
|
||||
|
||||
@Type(() => DocumentDetails)
|
||||
readonly details!: DocumentDetails;
|
||||
|
||||
get displayName(): string {
|
||||
return this.details.displayName;
|
||||
}
|
||||
}
|
||||
|
||||
export class DocumentDetails {
|
||||
@@ -153,10 +150,6 @@ export class DocumentDetails {
|
||||
readonly isAutoSaved!: boolean;
|
||||
|
||||
readonly isSaved!: boolean;
|
||||
|
||||
get displayName(): string {
|
||||
return `${this.name}${this.isSaved ? "" : "*"}`;
|
||||
}
|
||||
}
|
||||
|
||||
export class Box {
|
||||
|
||||
Reference in New Issue
Block a user