feat: got stuck with bug of Community.Mvvm generating codes
This commit is contained in:
23
BallanceTasEditor/ViewModels/NewFileDialog.cs
Normal file
23
BallanceTasEditor/ViewModels/NewFileDialog.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BallanceTasEditor.ViewModels {
|
||||
public partial class NewFileDialog : ObservableObject {
|
||||
[ObservableProperty]
|
||||
private int count;
|
||||
|
||||
[ObservableProperty]
|
||||
private int fps;
|
||||
|
||||
public NewFileDialog() {
|
||||
Count = 10000;
|
||||
// 132 or 264
|
||||
Fps = 264;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user