Change struct of cover file
This commit is contained in:
1 parent
6001f2f47d
commit
31a9ac6afa
5 files changed
+49
-23
No files matched your search
@@ -42,10 +42,10 @@ namespace VocaluxeLib.Xml
|
||||
bool ok = true;
|
||||
string val;
|
||||
bool defOk = GetAttribute(xPath, "Default", out val) && int.TryParse(val, out el.Default);
|
||||
ok &= TryGetIntValue(xPath + "/Left", ref el.Left, el.Default);
|
||||
/*ok &= TryGetIntValue(xPath + "/Left", ref el.Left, el.Default);
|
||||
ok &= TryGetIntValue(xPath + "/Right", ref el.Right, el.Default);
|
||||
ok &= TryGetIntValue(xPath + "/Top", ref el.Top, el.Default);
|
||||
ok &= TryGetIntValue(xPath + "/Bottom", ref el.Bottom, el.Default);
|
||||
ok &= TryGetIntValue(xPath + "/Bottom", ref el.Bottom, el.Default);*/
|
||||
return ok || defOk;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user