Commit e0b909c9 authored by Administrator's avatar Administrator

update

parent f47c58c1
......@@ -1339,10 +1339,11 @@ const showInPaintDialog = (type: string, item: any) => {
mask_ctx.clearRect(0, 0, mask_canvas.width, mask_canvas.height);
mask_ctx.lineWidth = 40; // 设置线条粗细
mask_ctx.strokeStyle = 'rgba(255, 255, 255, 0.5)'; // 设置线条颜色
mask_ctx.strokeStyle = 'rgba(255, 255, 255, 1)'; // 设置线条颜色
mask_ctx.lineCap = 'round'; // 线头尾为圆形
mask_ctx.lineJoin = 'round'; // 拐点为圆形,默认是尖角
// mask_ctx.globalCompositeOperation = 'destination-atop'; //避免线条重叠的时候透明度也重叠
// mask_ctx.globalCompositeOperation = 'copy'; //避免线条重叠的时候透明度也重叠
let isDrawing = false;
......@@ -2272,11 +2273,9 @@ const onSubmitInPaint = async () => {
<!-- 局部重绘 -->
<el-dialog
v-model="inPaintVisible"
title="局部重绘"
:width="parseInt(form.img_size.width) + 40"
:close-on-click-modal="false"
:close-on-press-escape="true"
:show-close="true"
:lock-scroll="true"
>
<div style="color: red">请在图片上涂抹需要保留的部分</div>
......
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