mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
lowercase variable name
This commit is contained in:
parent
85c58a9618
commit
301dd612d4
1 changed files with 2 additions and 2 deletions
|
|
@ -54,9 +54,9 @@ namespace Flow.Launcher.Converters
|
|||
System.Windows.Media.Typeface typeface = new Typeface(QueryTextBox.FontFamily, QueryTextBox.FontStyle, QueryTextBox.FontWeight, QueryTextBox.FontStretch);
|
||||
System.Windows.Media.FormattedText ft = new FormattedText(QueryTextBox.Text, System.Globalization.CultureInfo.CurrentCulture, System.Windows.FlowDirection.LeftToRight, typeface, QueryTextBox.FontSize, Brushes.Black);
|
||||
|
||||
var Offset = QueryTextBox.Padding.Right;
|
||||
var offset = QueryTextBox.Padding.Right;
|
||||
|
||||
if ((ft.Width + Offset) > QueryTextBox.ActualWidth || QueryTextBox.HorizontalOffset != 0)
|
||||
if ((ft.Width + offset) > QueryTextBox.ActualWidth || QueryTextBox.HorizontalOffset != 0)
|
||||
{
|
||||
return string.Empty;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue