mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Wow, I accidentally the whole UI
This commit is contained in:
parent
dd8c910597
commit
651c7410ac
87 changed files with 7571 additions and 7280 deletions
|
|
@ -115,7 +115,7 @@ public partial class ResourceWatcher : IDisposable, ITab
|
|||
var tmp = _logFilter;
|
||||
var invalidRegex = _logRegex == null && _logFilter.Length > 0;
|
||||
using var color = ImRaii.PushColor(ImGuiCol.Border, Colors.RegexWarningBorder, invalidRegex);
|
||||
using var style = ImRaii.PushStyle(ImGuiStyleVar.FrameBorderSize, ImGuiHelpers.GlobalScale, invalidRegex);
|
||||
using var style = ImRaii.PushStyle(ImGuiStyleVar.FrameBorderSize, UiHelpers.Scale, invalidRegex);
|
||||
if (ImGui.InputTextWithHint("##logFilter", "If path matches this Regex...", ref tmp, 256))
|
||||
UpdateFilter(tmp, true);
|
||||
}
|
||||
|
|
@ -151,7 +151,7 @@ public partial class ResourceWatcher : IDisposable, ITab
|
|||
|
||||
private void DrawMaxEntries()
|
||||
{
|
||||
ImGui.SetNextItemWidth(80 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.SetNextItemWidth(80 * UiHelpers.Scale);
|
||||
ImGui.InputInt("Max. Entries", ref _newMaxEntries, 0, 0);
|
||||
var change = ImGui.IsItemDeactivatedAfterEdit();
|
||||
if (ImGui.IsItemClicked(ImGuiMouseButton.Right) && ImGui.GetIO().KeyCtrl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue