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;
|
int windowId = -1;
|
||||||
|
|
||||||
var window = CoreWindow.GetForCurrentThread();
|
//var window = CoreWindow.GetForCurrentThread();
|
||||||
if (window != null)
|
//if (window != null)
|
||||||
{
|
//{
|
||||||
windowId = ApplicationView.GetApplicationViewIdForWindow(window);
|
// windowId = ApplicationView.GetApplicationViewIdForWindow(window);
|
||||||
}
|
//}
|
||||||
|
|
||||||
return windowId;
|
return windowId;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1106,7 +1106,7 @@
|
||||||
<Setter Target="RootGrid.(RevealBrush.State)"
|
<Setter Target="RootGrid.(RevealBrush.State)"
|
||||||
Value="PointerOver" />
|
Value="PointerOver" />
|
||||||
<Setter Target="RootGrid.Background"
|
<Setter Target="RootGrid.Background"
|
||||||
Value="{ThemeResource SystemControlHighlightAccentRevealBackgroundBrush}" />
|
Value="{ThemeResource SystemAccentColor}" />
|
||||||
<Setter Target="ContentPresenter.Foreground"
|
<Setter Target="ContentPresenter.Foreground"
|
||||||
Value="{ThemeResource SystemControlHighlightAltAltHighBrush}" />
|
Value="{ThemeResource SystemControlHighlightAltAltHighBrush}" />
|
||||||
</VisualState.Setters>
|
</VisualState.Setters>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue