fix line issues

This commit is contained in:
Clint Rutkas
2019-12-12 13:34:06 -08:00
parent de64b33bb8
commit 9e4752b114
4 changed files with 20 additions and 17 deletions

View File

@@ -271,6 +271,7 @@ namespace FancyZonesEditor
if (_colInfo[foundCol + i].End == offset) if (_colInfo[foundCol + i].End == offset)
{ {
foundExistingSplit = true; foundExistingSplit = true;
// use existing division // use existing division
} }
} }
@@ -364,6 +365,7 @@ namespace FancyZonesEditor
if (_rowInfo[foundRow + i].End == offset) if (_rowInfo[foundRow + i].End == offset)
{ {
foundExistingSplit = true; foundExistingSplit = true;
// use existing division // use existing division
} }
} }

View File

@@ -139,6 +139,7 @@ namespace FancyZonesEditor.Models
data[i++] = 1; // LayoutModelType: 1 == CanvasLayoutModel data[i++] = 1; // LayoutModelType: 1 == CanvasLayoutModel
data[i++] = (byte)(Id / 256); data[i++] = (byte)(Id / 256);
data[i++] = (byte)(Id % 256); data[i++] = (byte)(Id % 256);
// End common // End common
data[i++] = (byte)(_referenceWidth / 256); data[i++] = (byte)(_referenceWidth / 256);

View File

@@ -192,12 +192,14 @@ namespace FancyZonesEditor.Models
byte[] data = new byte[7 + (Rows * 2) + (Columns * 2) + (Rows * Columns)]; byte[] data = new byte[7 + (Rows * 2) + (Columns * 2) + (Rows * Columns)];
int i = 0; int i = 0;
// Common persisted values between all layout types // Common persisted values between all layout types
data[i++] = (byte)(c_latestVersion / 256); data[i++] = (byte)(c_latestVersion / 256);
data[i++] = (byte)(c_latestVersion % 256); data[i++] = (byte)(c_latestVersion % 256);
data[i++] = 0; // LayoutModelType: 0 == GridLayoutModel data[i++] = 0; // LayoutModelType: 0 == GridLayoutModel
data[i++] = (byte)(Id / 256); data[i++] = (byte)(Id / 256);
data[i++] = (byte)(Id % 256); data[i++] = (byte)(Id % 256);
// End common // End common
data[i++] = (byte)Rows; data[i++] = (byte)Rows;

View File

@@ -31,17 +31,15 @@ using System.Windows;
// the line below to match the UICulture setting in the project file. // the line below to match the UICulture setting in the project file.
// [assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] // [assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
// ThemeInfo.None = where theme specific resource dictionaries are located
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
// (used if a resource is not found in the page, // (used if a resource is not found in the page,
// or application resource dictionaries) // or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located // ThemeInfo.SourceAssembly = where the generic resource dictionary is located
// (used if a resource is not found in the page, // (used if a resource is not found in the page,
// app, or any theme specific resource dictionaries) // app, or any theme specific resource dictionaries)
)] [assembly: ThemeInfo(
ResourceDictionaryLocation.None,
ResourceDictionaryLocation.SourceAssembly)]
// Version information for an assembly consists of the following four values: // Version information for an assembly consists of the following four values:
// //