style: Move text-align outside of the mako file.

This commit is contained in:
Nazım Can Altınova 2017-12-15 10:26:23 -06:00
parent 3ad2687c0b
commit 9882d0bae5
7 changed files with 203 additions and 164 deletions

View file

@ -654,7 +654,7 @@ impl FlowFlags {
#[inline]
pub fn set_text_align(&mut self, value: TextAlign) {
*self = (*self & !FlowFlags::TEXT_ALIGN) |
FlowFlags::from_bits(value.to_u32() << TEXT_ALIGN_SHIFT).unwrap();
FlowFlags::from_bits((value as u32) << TEXT_ALIGN_SHIFT).unwrap();
}
#[inline]