mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
fix runtime cast
This commit is contained in:
parent
eb90cbcf4c
commit
294c14ec9f
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ namespace CalculatorApp
|
||||||
|
|
||||||
args.SplashScreen.Dismissed += async (_, __) => await SetupJumpListAsync();
|
args.SplashScreen.Dismissed += async (_, __) => await SetupJumpListAsync();
|
||||||
|
|
||||||
var minWindowWidth = (float)Resources["AppMinWindowWidth"];
|
var minWindowWidth = Convert.ToSingle(Resources["AppMinWindowWidth"]);
|
||||||
var minWindowHeight = (float)Resources["AppMinWindowHeight"];
|
var minWindowHeight = Convert.ToSingle(Resources["AppMinWindowHeight"]);
|
||||||
var minWindowSize = SizeHelper.FromDimensions(minWindowWidth, minWindowHeight);
|
var minWindowSize = SizeHelper.FromDimensions(minWindowWidth, minWindowHeight);
|
||||||
|
|
||||||
ApplicationView appView = ApplicationView.GetForCurrentView();
|
ApplicationView appView = ApplicationView.GetForCurrentView();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue