- 
        Couldn't load subscription status. 
- Fork 182
Text rotation #424
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
Text rotation #424
Conversation
| Is there anything else needs implemented? I can lend a hand but this looks pretty feature complete to me | 
| text supports rotation at any Angle, but borders do not | 
        
          
                .vscode/settings.json
              
                Outdated
          
        
      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.
Delete that file
| #[derive(Debug, Clone, Copy, PartialEq, Eq)] | ||
| pub enum Rotation { | ||
| Rotation0, | ||
| Rotation90, | ||
| Rotation180, | ||
| Rotation270, | ||
| } | ||
|  | 
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.
This should have better naming like:
| #[derive(Debug, Clone, Copy, PartialEq, Eq)] | |
| pub enum Rotation { | |
| Rotation0, | |
| Rotation90, | |
| Rotation180, | |
| Rotation270, | |
| } | |
| #[derive(Debug, Clone, Copy, PartialEq, Eq)] | |
| pub enum Rotation { | |
| NoRotation, | |
| RotateRight, | |
| RotateUpsideDown, | |
| RotateLeft, | |
| } | 
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.
although I don't feel like rotate is anyhow good
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.
Preferably it should somehow comply with how CSS defines this attributes
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.
ok, thanks for your advice. I will revise it right away
        
          
                src/style.rs
              
                Outdated
          
        
      | pub fn rotation_0(self) -> Self { | ||
| self.rotation(Rotation::Rotation0) | ||
| } | ||
| pub fn rotation_90(self) -> Self { | ||
| self.rotation(Rotation::Rotation90) | ||
| } | ||
| pub fn rotation_180(self) -> Self { | ||
| self.rotation(Rotation::Rotation180) | ||
| } | ||
| pub fn rotation_270(self) -> Self { | ||
| self.rotation(Rotation::Rotation270) | ||
| } | ||
|  | 
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.
same as above
| Does this require the vger RP? | 
| yes | 

No description provided.