Commit aad0b508 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

setFillPattern => setFillStyle для отрисовки кнопок а/ф

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47486 954022d7-b5bf-4e40-9824-e11837661b57
parent 2c978c1c
...@@ -2395,7 +2395,7 @@ ...@@ -2395,7 +2395,7 @@
var x1 = x1/zoom; var x1 = x1/zoom;
var y1 = y1/zoom; var y1 = y1/zoom;
ws.drawingCtx ws.drawingCtx
.setFillPattern(ws.settings.cells.defaultState.background) .setFillStyle(ws.settings.cells.defaultState.background)
.setLineWidth(1) .setLineWidth(1)
.setStrokeStyle(ws.settings.cells.defaultState.border) .setStrokeStyle(ws.settings.cells.defaultState.border)
.fillRect(x1 + diffX, y1 + diffY, width, height) .fillRect(x1 + diffX, y1 + diffY, width, height)
...@@ -2419,7 +2419,7 @@ ...@@ -2419,7 +2419,7 @@
.lineTo(x + 3*index,y - size, 0, 0) .lineTo(x + 3*index,y - size, 0, 0)
.lineTo(x + shift,y - size/2, 0, 0) .lineTo(x + shift,y - size/2, 0, 0)
.lineTo(x + shift,y, 0, 0) .lineTo(x + shift,y, 0, 0)
.setFillPattern('#787878') .setFillStyle('#787878')
.fill(); .fill();
}, },
...@@ -2433,7 +2433,7 @@ ...@@ -2433,7 +2433,7 @@
.lineTo(x + size,y, -shift,0.5) .lineTo(x + size,y, -shift,0.5)
.lineTo(x + size/2,y + size/2 + shift,-shift,0) .lineTo(x + size/2,y + size/2 + shift,-shift,0)
.lineTo(x , y , -shift, 0) .lineTo(x , y , -shift, 0)
.setFillPattern('#787878') .setFillStyle('#787878')
.fill(); .fill();
}, },
......
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