Add button to update localization dashboard

This commit is contained in:
Wojtek Figat
2021-04-23 10:58:43 +02:00
parent dc62586314
commit 81efa49951

View File

@@ -1,6 +1,5 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
@@ -86,6 +85,11 @@ namespace FlaxEditor.CustomEditors.Dedicated
group.Space(10);
}
// Update add button
var update = group.Button("Update").Button;
update.Height = 16.0f;
update.Clicked += RebuildLayout;
// New locale add button
var addLocale = group.Button("Add Locale...").Button;
addLocale.Height = 16.0f;