mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Fix memory
This commit is contained in:
parent
98e7f0dc47
commit
c77a60420f
2 changed files with 6 additions and 6 deletions
|
@ -21,11 +21,11 @@ namespace CalculatorApp
|
|||
{
|
||||
int windowId = -1;
|
||||
|
||||
var window = CoreWindow.GetForCurrentThread();
|
||||
if (window != null)
|
||||
{
|
||||
windowId = ApplicationView.GetApplicationViewIdForWindow(window);
|
||||
}
|
||||
//var window = CoreWindow.GetForCurrentThread();
|
||||
//if (window != null)
|
||||
//{
|
||||
// windowId = ApplicationView.GetApplicationViewIdForWindow(window);
|
||||
//}
|
||||
|
||||
return windowId;
|
||||
}
|
||||
|
|
|
@ -1106,7 +1106,7 @@
|
|||
<Setter Target="RootGrid.(RevealBrush.State)"
|
||||
Value="PointerOver" />
|
||||
<Setter Target="RootGrid.Background"
|
||||
Value="{ThemeResource SystemControlHighlightAccentRevealBackgroundBrush}" />
|
||||
Value="{ThemeResource SystemAccentColor}" />
|
||||
<Setter Target="ContentPresenter.Foreground"
|
||||
Value="{ThemeResource SystemControlHighlightAltAltHighBrush}" />
|
||||
</VisualState.Setters>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue