refactor(Annotation): Umbenennen von left in marginLeft, top in marginTop, posX in Left und posY in top für eine CSS-ähnlichere Benennung
This commit is contained in:
@@ -35,11 +35,11 @@ public class AnnotationParams
|
||||
if(DefaultAnnotation is not null)
|
||||
{
|
||||
// To set default value, annotation must have default (0) value but default must has non-default value
|
||||
if (this[name]._left == default && DefaultAnnotation.Left != default)
|
||||
this[name]._left = DefaultAnnotation.Left;
|
||||
if (this[name]._marginLeft == default && DefaultAnnotation.MarginLeft != default)
|
||||
this[name]._marginLeft = DefaultAnnotation.MarginLeft;
|
||||
|
||||
if (this[name]._top == default && DefaultAnnotation.Top != default)
|
||||
this[name]._top = DefaultAnnotation.Top;
|
||||
if (this[name]._marginTop == default && DefaultAnnotation.MarginTop != default)
|
||||
this[name]._marginTop = DefaultAnnotation.MarginTop;
|
||||
|
||||
if (this[name]._width == default && DefaultAnnotation.Width != default)
|
||||
this[name]._width = DefaultAnnotation.Width;
|
||||
|
||||
Reference in New Issue
Block a user