Commit 3b433934 authored by Oleg Korshul's avatar Oleg Korshul

mobile web: bug in table markers

parent b9c1e4dd
...@@ -1549,6 +1549,8 @@ ...@@ -1549,6 +1549,8 @@
var _posMoveX = 0; var _posMoveX = 0;
var _posMoveY = 0; var _posMoveY = 0;
var _PageNum = _table_outline_dr.CurrentPageIndex;
if (!_table_outline_dr.TableMatrix || global_MatrixTransformer.IsIdentity(_table_outline_dr.TableMatrix)) if (!_table_outline_dr.TableMatrix || global_MatrixTransformer.IsIdentity(_table_outline_dr.TableMatrix))
{ {
this.TableMovePoint = {X : _tableOutline.X, Y : _tableOutline.Y}; this.TableMovePoint = {X : _tableOutline.X, Y : _tableOutline.Y};
...@@ -1618,7 +1620,7 @@ ...@@ -1618,7 +1620,7 @@
var _newPos = (i != _count) ? _table_markup.Rows[i].Y : _oldY; var _newPos = (i != _count) ? _table_markup.Rows[i].Y : _oldY;
var _p = {Y : _oldY, H : (_newPos - _oldY)}; var _p = {Y : _oldY, H : (_newPos - _oldY)};
var _y = DrawingDocument.ConvertCoordsToCursorWR(0, _oldY, _tableOutline.PageNum); var _y = DrawingDocument.ConvertCoordsToCursorWR(0, _oldY, _PageNum);
ctx.beginPath(); ctx.beginPath();
overlay.AddDiamond(_x + 1.5 + (_rectWidth >> 1), _y.Y, AscCommon.MOBILE_TABLE_RULER_DIAMOND); overlay.AddDiamond(_x + 1.5 + (_rectWidth >> 1), _y.Y, AscCommon.MOBILE_TABLE_RULER_DIAMOND);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment