File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ public interface ILocoFileViewModel
26
26
public FileSystemItem CurrentFile { get ; init ; }
27
27
28
28
[ Reactive ]
29
- public bool IsLocalMode => CurrentFile . FileLocation == FileLocation . Local ;
29
+ public bool IsLocalMode
30
+ => CurrentFile . FileLocation == FileLocation . Local ;
30
31
31
32
public string ReloadText { get ; }
32
33
public string SaveText { get ; }
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public S5HeaderViewModel(S5Header s5Header)
41
41
[ Reactive ]
42
42
public SourceGame SourceGame { get ; set ; }
43
43
44
- [ Reactive , ReadOnly ( true ) ]
44
+ [ Reactive ]
45
45
public ObjectType ObjectType { get ; set ; }
46
46
47
47
public S5Header GetAsUnderlyingType ( )
Original file line number Diff line number Diff line change 24
24
x:Class=" OpenLoco.Gui.Views.MainWindow"
25
25
x:DataType=" vm:MainWindowViewModel"
26
26
Icon=" /Assets/loco_icon.png"
27
- Title=" {Binding WindowTitle}" >
27
+ Title=" {Binding WindowTitle}"
28
+ >
29
+ <!-- https://docs.avaloniaui.net/docs/0.10.x/tutorials/music-store-app/creating-a-modern-looking-window -->
28
30
29
31
<Design .DataContext>
30
32
<vm : MainWindowViewModel />
You can’t perform that action at this time.
0 commit comments