mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-24 21:43:20 +00:00
Quick adjustment to editing bsmat
This commit is contained in:
parent
8cc294e07f
commit
ed015677df
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,7 @@ namespace MetroidDreadLibrary
|
|||
public TextEditor OpenForm()
|
||||
{
|
||||
var textEditor = new TextEditor();
|
||||
FillEditor(textEditor);
|
||||
return textEditor;
|
||||
}
|
||||
|
||||
|
@ -48,6 +49,8 @@ namespace MetroidDreadLibrary
|
|||
{
|
||||
((TextEditor)control).FileFormat = this;
|
||||
((TextEditor)control).FillEditor(JsonContents);
|
||||
((TextEditor)control).TextEditorChanged = null;
|
||||
|
||||
((TextEditor)control).TextEditorChanged += delegate
|
||||
{
|
||||
JsonContents = ((TextEditor)control).GetText();
|
||||
|
|
Loading…
Reference in a new issue