Add dummy defaults for textbox

This commit is contained in:
Seth Hillbrand 2022-01-31 16:26:37 -08:00
parent 4243d7b055
commit 59e43527a0
2 changed files with 6 additions and 0 deletions

View File

@ -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 );
}

View File

@ -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 );
}