diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-07-05 11:59:04 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2017-07-05 11:59:04 +0000 |
| commit | 32ffd60f10bae1c54df9d38d27471f150148978a (patch) | |
| tree | d6a5c89d7e74035e9714b6671d9776e03fed4faf /src/desktop-style.cpp | |
| parent | Clean up color-profile and use io/resource for dir scanning (diff) | |
| download | inkscape-32ffd60f10bae1c54df9d38d27471f150148978a.tar.gz inkscape-32ffd60f10bae1c54df9d38d27471f150148978a.zip | |
Fix 'direction' gui.
Diffstat (limited to 'src/desktop-style.cpp')
| -rw-r--r-- | src/desktop-style.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 4c07c76ea..19582c9ee 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -1157,7 +1157,6 @@ objects_query_fontnumbers (const std::vector<SPItem*> &objects, SPStyle *style_r // FIXME: we must detect MULTIPLE_DIFFERENT for these too style_res->text_anchor.computed = style->text_anchor.computed; - style_res->writing_mode.computed = style->writing_mode.computed; } if (texts == 0) @@ -1394,13 +1393,15 @@ objects_query_writing_modes (const std::vector<SPItem*> &objects, SPStyle *style texts ++; if (set && - ( ( style_res->writing_mode.computed != style->writing_mode.computed ) || + ( ( style_res->writing_mode.computed != style->writing_mode.computed ) || + ( style_res->direction.computed != style->direction.computed ) || ( style_res->text_orientation.computed != style->text_orientation.computed ) ) ) { different = true; // different styles } set = true; style_res->writing_mode.computed = style->writing_mode.computed; + style_res->direction.computed = style->direction.computed; style_res->text_orientation.computed = style->text_orientation.computed; } |
