castedNode() -> typedNode()

This commit is contained in:
Léa Saviot
2018-07-02 14:12:03 +02:00
parent 882e81e4db
commit 253db1ac2c
8 changed files with 24 additions and 24 deletions

View File

@@ -20,19 +20,19 @@ int LayoutCursor::middleLeftPoint() {
/* Move */
void LayoutCursor::moveLeft(bool * shouldRecomputeLayout) {
layoutReference().castedNode()->moveCursorLeft(this, shouldRecomputeLayout);
layoutReference().typedNode()->moveCursorLeft(this, shouldRecomputeLayout);
}
void LayoutCursor::moveRight(bool * shouldRecomputeLayout) {
layoutReference().castedNode()->moveCursorRight(this, shouldRecomputeLayout);
layoutReference().typedNode()->moveCursorRight(this, shouldRecomputeLayout);
}
void LayoutCursor::moveAbove(bool * shouldRecomputeLayout) {
layoutReference().castedNode()->moveCursorUp(this, shouldRecomputeLayout);
layoutReference().typedNode()->moveCursorUp(this, shouldRecomputeLayout);
}
void LayoutCursor::moveUnder(bool * shouldRecomputeLayout) {
layoutReference().castedNode()->moveCursorDown(this, shouldRecomputeLayout);
layoutReference().typedNode()->moveCursorDown(this, shouldRecomputeLayout);
}