-
Notifications
You must be signed in to change notification settings - Fork 68
Master style text rotation flda #7376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ed16251 to
0359de5
Compare
pro-odoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| interface Expect { | ||
| toBeBetween(lower: number, upper: number): ExpectResult; | ||
| toBeSameColorAs(expected: string, tolerance?: number): ExpectResult; | ||
| toBeCloseTo(expected: number, closeDigit?: number): ExpectResult; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To allow its use inside toMatchObject(), the implementation is the same as the one described in jest doc
LucasLefevre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good good good
94af3a6 to
bb3026e
Compare
Add rotation to the text style. Task-id: 5158912
bb3026e to
c870daf
Compare
LucasLefevre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
robodoo r+
(rebased to fix conflicts)
| fillColor?: Color; | ||
| textColor?: Color; | ||
| fontSize?: number; // in pt, not in px! | ||
| rotation?: number; // in rad, clockwise because y+ is down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
@fdamhaut @LucasLefevre because this PR has multiple commits, I need to know how to merge it:
|
|
robodoo rebase-ff |
|
Merge method set to rebase and fast-forward. |
Part-of: #7376 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
Add rotation to the text style. closes #7376 Task-id: 5158912 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>

Description:
description of this task, what is implemented and why it is implemented that way.
Task: 5158912
review checklist