Skip to content

Commit 406ace9

Browse files
goran-wlove-linger
authored andcommitted
enhance: activate TabsDropdownItem on Tapped instead of DoubleTapped
Signed-off-by: leo <[email protected]>
1 parent 464fe74 commit 406ace9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Views/LauncherTabBar.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211

212212
<ListBox.ItemTemplate>
213213
<DataTemplate DataType="vm:LauncherPage">
214-
<Grid ColumnDefinitions="Auto,*" Background="Transparent" DoubleTapped="OnTabsDropdownItemDoubleTapped">
214+
<Grid ColumnDefinitions="Auto,*" Background="Transparent" Tapped="OnTabsDropdownItemTapped">
215215
<Path Grid.Column="0"
216216
Width="12" Height="12" Margin="12,0"
217217
Fill="{Binding Node.Bookmark, Converter={x:Static c:IntConverters.ToBookmarkBrush}}"

src/Views/LauncherTabBar.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private void OnClearSearchFilter(object sender, RoutedEventArgs e)
327327
SearchFilter = string.Empty;
328328
}
329329

330-
private void OnTabsDropdownItemDoubleTapped(object sender, TappedEventArgs e)
330+
private void OnTabsDropdownItemTapped(object sender, TappedEventArgs e)
331331
{
332332
if (sender is Control { DataContext: ViewModels.LauncherPage page } &&
333333
DataContext is ViewModels.Launcher vm)

0 commit comments

Comments
 (0)