Commit 782aed97 authored by Anna Pavlova's avatar Anna Pavlova

Поправлен баг привнесенный в комите 0fa4717f [0fa4717f]

Неправильное выравнивание в итераторах N-арных операторов, столбцах матриц  и т.п.
parent b1b3279c
......@@ -292,7 +292,7 @@ CMathBase.prototype.align = function(pos_x, pos_y)
if(this.alignment.wdt[pos_y] == MCJC_CENTER)
PosAlign.x = (maxW - this.elements[pos_x][pos_y].size.width)*0.5;
else if(this.alignment.hgt[pos_x] == MCJC_LEFT)
else if(this.alignment.wdt[pos_y] == MCJC_LEFT)
PosAlign.x = 0;
else // MCJC_RIGHT
PosAlign.x = maxW - this.elements[pos_x][pos_y].size.width;
......
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