charrysong

Results 10 comments of charrysong

用了position:absolute;会有边 白色是background:#fff;X是图片。 ![cssradius](https://cloud.githubusercontent.com/assets/16949356/16719425/b6d43072-475c-11e6-9e24-d937d470c40c.png)

感觉有这个就完美了。期待支持

能用画面外面的按钮让选中的图层置底吗?因为大图跟小图切换如果在里面是很难切换的 @jasondu 已经通过getrgap()循环再setrgap()设置。可以实现。 `setDown:function(){ var that=this; var crentgap=CanvasDrag.getrgap(); var newdrawArr=[]; var selectedindex=crentgap.length-1; var lastArr=[]; var lastdrawArr=[]; if(crentgap.length>1){ crentgap.forEach((item, index) => { console.log(item.selected); if(item.selected){ console.log(selectedindex) lastArr.push(item); } else{ newdrawArr.push(item); } });...

> 当前做法是生成一张完整数独再根据等级抹掉几个空格,等级越高,你提到的这种现象会更明显。 不能再写个循环去判断吗?

暂时我按这个方法改了 https://blog.csdn.net/weixin_34281477/article/details/87481839

注释掉了也一样,有的IOS会,有的不会报错。 ![QQ图片20221115100254](https://user-images.githubusercontent.com/16949356/201808542-f6a6ef44-f4f5-416d-8240-60a093aa1da1.png)

经过测试发现苹果12会出现 _cutDetectionPositionLeft这个方法注释掉就正常

> > > > _cutDetectionPositionLeft这个方法,我看到程序里面有调用,注释掉,那对功能自身没有影响吗? 暂时不知道呢,先正常再关注这个BUG有没有处理

> ![image](https://user-images.githubusercontent.com/41320159/217689837-00544ad3-ed0b-424c-8ba5-c96a6ac1de3b.png) 应该是浮点数精度问题,我装了个number-precision包处理了一下cut_left和cut_top这块的计算就没有报错了 这个 方法贴出来看看

`'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee...