Changeset 4173


Ignore:
Timestamp:
09/01/09 14:01:57 (5 years ago)
Author:
tobiasz.cudnik
Message:

Fixed #3438 - Floating panels are off by (-1px, 0px) in RTL mode.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4172 r4173  
    5454                <li><a href="http://dev.fckeditor.net/ticket/4354">#4354</a> : Fixed TAB key on toolbar to not focus disabled buttons.</li>      
    5555                <li><a href="http://dev.fckeditor.net/ticket/3856">#3856</a> : Fixed focus and blur events in source view mode.</li> 
     56                <li><a href="http://dev.fckeditor.net/ticket/3438">#3438</a> : Floating panels are off by (-1px, 0px) in RTL mode.</li> 
    5657        </ul> 
    5758        <h3> 
  • CKEditor/trunk/_source/plugins/floatpanel/plugin.js

    r4167 r4173  
    120120                                        top             = position.y + ( offsetY || 0 ); 
    121121 
    122                                 if ( ( rtl && ( corner == 1 || corner == 4 ) ) || ( !rtl && ( corner == 2 || corner == 3 ) ) ) 
     122                                // Floating panels are off by (-1px, 0px) in RTL mode. (#3438) 
     123                                if ( rtl && ( corner == 1 || corner == 4 ) ) 
     124                                        left += offsetParent.$.offsetWidth; 
     125                                else if ( !rtl && ( corner == 2 || corner == 3 ) ) 
    123126                                        left += offsetParent.$.offsetWidth - 1; 
    124127 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy