Add dummy defaults for textbox
This commit is contained in:
parent
4243d7b055
commit
59e43527a0
|
@ -132,6 +132,9 @@ VECTOR2I LIB_TEXTBOX::GetDrawPos() const
|
|||
return VECTOR2I( bbox.GetRight() - margin, bbox.GetTop() + margin );
|
||||
}
|
||||
}
|
||||
|
||||
// Dummy default. Should never reach here
|
||||
return VECTOR2I( bbox.GetLeft() + margin, bbox.GetBottom() - margin );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -139,6 +139,9 @@ VECTOR2I SCH_TEXTBOX::GetDrawPos() const
|
|||
return VECTOR2I( bbox.GetRight() - margin, bbox.GetTop() + margin );
|
||||
}
|
||||
}
|
||||
|
||||
// Dummy default. Should never reach here
|
||||
return VECTOR2I( bbox.GetLeft() + margin, bbox.GetBottom() - margin );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue