]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('Ext.rtl.event.Event', {\r |
2 | override: 'Ext.event.Event',\r | |
3 | \r | |
4 | getXY: function() {\r | |
5 | var me = this,\r | |
6 | xy = me.xy;\r | |
7 | \r | |
8 | if (!xy) {\r | |
9 | xy = me.callParent();\r | |
10 | if (Ext.rootInheritedState.rtl) {\r | |
11 | xy[0] = Ext.Element.getViewportWidth() - xy[0];\r | |
12 | }\r | |
13 | }\r | |
14 | return xy;\r | |
15 | }\r | |
16 | \r | |
17 | });\r |