mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
hide power tools
This commit is contained in:
parent
62ae4c3e89
commit
7877fd08cd
@ -60,7 +60,7 @@
|
||||
|
||||
int delay = 1000;
|
||||
|
||||
if (App.Settings.Prop.OhHeyYouFoundMe)
|
||||
if (App.Settings.Prop.PowerTools)
|
||||
delay = 250;
|
||||
|
||||
string logDirectory = Path.Combine(Paths.LocalAppData, "Roblox\\logs");
|
||||
|
@ -13,7 +13,10 @@ namespace Bloxstrap.Models
|
||||
public bool CheckForUpdates { get; set; } = true;
|
||||
public bool CreateDesktopIcon { get; set; } = true;
|
||||
public bool MultiInstanceLaunching { get; set; } = false;
|
||||
public bool OhHeyYouFoundMe { get; set; } = false;
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
||||
[JsonPropertyName("OhHeyYouFoundMeAgain")]
|
||||
public bool PowerTools { get; set; } = false;
|
||||
|
||||
// channel configuration
|
||||
public string Channel { get; set; } = RobloxDeployment.DefaultChannel;
|
||||
|
@ -39,7 +39,7 @@ namespace Bloxstrap.UI.Elements.ContextMenu
|
||||
|
||||
if (_activityWatcher is not null)
|
||||
{
|
||||
if (App.Settings.Prop.OhHeyYouFoundMe)
|
||||
if (App.Settings.Prop.PowerTools)
|
||||
LogTracerMenuItem.Visibility = Visibility.Visible;
|
||||
|
||||
_activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin;
|
||||
|
@ -28,7 +28,7 @@ namespace Bloxstrap.UI.ViewModels.Menu
|
||||
|
||||
public ICommand OpenFastFlagEditorCommand => new RelayCommand(OpenFastFlagEditor);
|
||||
|
||||
public Visibility ShowDebugFlags => App.Settings.Prop.OhHeyYouFoundMe ? Visibility.Visible : Visibility.Collapsed;
|
||||
public Visibility ShowDebugFlags => App.Settings.Prop.PowerTools ? Visibility.Visible : Visibility.Collapsed;
|
||||
|
||||
public bool HttpRequestLogging
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user