Skip to content

Commit

Permalink
v3.0.0.41 - Make Quick Tags window bigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonymous authored and Anonymous committed Aug 23, 2024
1 parent 27a7926 commit c524e27
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
9 changes: 4 additions & 5 deletions e621 ReBot v3/Modules/Downloader/Module_Downloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,10 @@ private static void DownloadBGW_Start(object? sender, DoWorkEventArgs e)
while (DLThreadsWaiting > 0 && _2Download_DownloadItems.Count > 0)
{
DownloadItemTemp = _2Download_DownloadItems[0];
lock (_2Download_DownloadItems)
{
_2Download_DownloadItems.RemoveAt(0);
}

DLThreadsWaiting--;
if (DownloadItemTemp.Is_e6Download)
Expand All @@ -844,11 +848,6 @@ private static void DownloadBGW_Start(object? sender, DoWorkEventArgs e)
{
DownloadFrom_URL(DownloadItemTemp);
}

lock (_2Download_DownloadItems)
{
_2Download_DownloadItems.RemoveAt(0);
}
}
UpdateDownloadTreeView();
}
Expand Down
2 changes: 1 addition & 1 deletion e621 ReBot v3/Windows/Window_QuickTags.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="Quick Tags" Width="256" MinHeight="40" MaxHeight="256" WindowStartupLocation="CenterOwner" Closed="Window_Closed" ShowInTaskbar="False" ResizeMode="NoResize" UseLayoutRounding="True" SnapsToDevicePixels="True" ContentRendered="Window_ContentRendered" KeyDown="Window_KeyDown" SizeToContent="Height">
Title="Quick Tags" Width="420" MinHeight="40" MaxHeight="512" Closed="Window_Closed" ShowInTaskbar="False" ResizeMode="NoResize" UseLayoutRounding="True" SnapsToDevicePixels="True" ContentRendered="Window_ContentRendered" KeyDown="Window_KeyDown" SizeToContent="Height">

<Window.Resources>
<ContextMenu x:Key="QuickTagRemove_ContextMenu" IsTabStop="False">
Expand Down
7 changes: 6 additions & 1 deletion e621 ReBot v3/Windows/Window_QuickTags.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public Window_QuickTags()
InitializeComponent();
App.SetWindow2Square(this);
Owner = Window_Tagger._RefHolder;
Point OwnerLocation = Owner.PointToScreen(new Point(0, 0));
Left = OwnerLocation.X - 8;
Top = OwnerLocation.Y + Owner.Height - 40 + 2;

Window_Tagger.SuggestionPopup.SetTextBoxTarget(QuickTags_TextBox, true);
RestorePoolMode = Window_Tagger.SuggestionPopup.PoolMode;
Window_Tagger.SuggestionPopup.PoolMode = false;
Expand Down Expand Up @@ -111,7 +115,7 @@ private void LoadQuickTags()
Margin = new Thickness(2, 0, 0, 2),
Height = 24,
MinWidth = 32,
MaxWidth = 64,
MaxWidth = 128,
Content = QuickTagPair.Key,
Tag = QuickTagPair.Value,
ToolTip = QuickTagPair.Value,
Expand Down Expand Up @@ -141,5 +145,6 @@ private void QuickTagRemove_ContextMenu_Remove(object sender, RoutedEventArgs e)
}
LoadQuickTags();
}

}
}
2 changes: 1 addition & 1 deletion e621 ReBot v3/e621 ReBot v3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ApplicationIcon>Resources\ReBot_Icon.ico</ApplicationIcon>
<Platforms>x64</Platforms>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<FileVersion>3.0.0.40</FileVersion>
<FileVersion>3.0.0.41</FileVersion>
<StartupObject>e621_ReBot_v3.App</StartupObject>
<IsPublishable>False</IsPublishable>
<RepositoryUrl>https://github.com/e621-ReBot/e621-ReBot-v3</RepositoryUrl>
Expand Down

0 comments on commit c524e27

Please sign in to comment.