Browse Source

[修改] 工作区背景色修改为绿色

[修改]  字体描边修改为白色
[修改]  修为取消绘制函数为public
develop
徐振升 4 years ago
parent
commit
31b26c5a64
  1. 6
      src/app/working-area/working-area.component.ts

6
src/app/working-area/working-area.component.ts

@ -180,7 +180,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
antialias: true,
transparent: false,
resolution: 1,
backgroundColor: 0x1099bb// 0xffffff
backgroundColor: 0x00ff00// 0xffffff
});
this.content.nativeElement.appendChild(this.app.view);
@ -702,7 +702,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
/**
*
*/
private cancelPaint(): void {
public cancelPaint(): void {
switch (this.paintMode) {
case PaintMode.singlePointIcon:
this.previewSinglePointIcon.visible = false;
@ -853,7 +853,7 @@ export class SinglePointIcon extends PIXI.Container {
fontStyle: 'normal',
fontWeight: 'bold',
fill: ['#000000'],
stroke: '#00ff99',
stroke: '#ffffff',
strokeThickness: 3,
dropShadow: true,
dropShadowColor: '#000000',

Loading…
Cancel
Save