@@ -908,18 +908,19 @@ void UpdateAreaInformation()
908908
909909 // Screen area
910910 labelScreenAreaInfo . Content = areaText +
911- "" + Utils . GetNumberString ( config . SelectedScreenArea . Width / config . SelectedScreenArea . Height , "0.000" ) + ":1" +
912- " | " + Utils . GetNumberString ( config . SelectedScreenArea . Width * config . SelectedScreenArea . Height , "0" ) + " pixels" ;
911+ Utils . GetNumberString ( config . SelectedScreenArea . Width / config . SelectedScreenArea . Height , "0.000" ) + ":1 | " +
912+ Utils . GetNumberString ( config . SelectedScreenArea . Width * config . SelectedScreenArea . Height , "0" ) + " pixels" ;
913913
914914 // Tablet area
915915 labelTabletAreaInfo . Content = areaText +
916- "" + Utils . GetNumberString ( config . SelectedTabletArea . Width / config . SelectedTabletArea . Height , "0.000" ) + ":1" +
917- " | " + Utils . GetNumberString ( config . SelectedTabletArea . Width * config . SelectedTabletArea . Height , "0" ) + " mm²" +
918- " " + Utils . GetNumberString (
916+ Utils . GetNumberString ( config . SelectedTabletArea . Width / config . SelectedTabletArea . Height , "0.000" ) + ":1 | " +
917+ Utils . GetNumberString ( config . SelectedTabletArea . Width * config . SelectedTabletArea . Height , "0" ) + " mm² " +
918+ Utils . GetNumberString (
919919 config . SelectedTabletArea . Width * config . SelectedTabletArea . Height /
920920 ( config . TabletFullArea . Width * config . TabletFullArea . Height ) * 100.0
921- , "0" ) + "%" +
922- " | " + Utils . GetNumberString ( config . SelectedScreenArea . Width / config . SelectedTabletArea . Width , "0.0" ) + " x " +
921+ , "0" ) + "% of " +
922+ Utils . GetNumberString ( config . TabletFullArea . Width ) + "x" + Utils . GetNumberString ( config . TabletFullArea . Height ) + " mm | " +
923+ Utils . GetNumberString ( config . SelectedScreenArea . Width / config . SelectedTabletArea . Width , "0.0" ) + "x" +
923924 Utils . GetNumberString ( config . SelectedScreenArea . Height / config . SelectedTabletArea . Height , "0.0" ) + " px/mm" ;
924925
925926 }
@@ -995,7 +996,7 @@ private void CanvasArea_MouseUp(object sender, MouseButtonEventArgs e)
995996 canvasTabletArea . ReleaseMouseCapture ( ) ;
996997
997998 // Focus
998- if ( sender == canvasScreenMap )
999+ if ( sender == canvasScreenMap )
9991000 canvasScreenMap . Focus ( ) ;
10001001 else if ( sender == canvasTabletArea )
10011002 canvasTabletArea . Focus ( ) ;
0 commit comments