Giter Club home page Giter Club logo

Comments (6)

bugluo avatar bugluo commented on May 24, 2024

可以告知一下具体是怎样操作了之后变卡顿的吗?

from miaow.

luyuan59 avatar luyuan59 commented on May 24, 2024

框选时会非常卡,enable 插件了后也依然卡顿,只有 uninstall。上传 gif 图了,不知道能不能帮到忙。

default

  1. 安装 WeSketch;
  2. 打开 Sketch,新建文件,绘制多个矩形;
  3. 鼠标框选,此时会非常卡顿。

from miaow.

Damao avatar Damao commented on May 24, 2024

请升级到最新版本试试看,我们测试过44+的

from miaow.

luyuan59 avatar luyuan59 commented on May 24, 2024

你好,我的 Sketch 版本是45.1 。

from miaow.

bugluo avatar bugluo commented on May 24, 2024

定位到框选造成卡顿的原因了,还挺难解决的。

由于获取选中的元素这个对象里面没有选中的先后,所以我需要用 select事件把每次获取的元素存在系统中。 所以如果是拖画布的操作,就在不停的选元素。会触发选中的事件。

如果去掉这个事件,我就没办法知道获取元素的先后了。link 功能会有影响。

这里我会先保证解决用户卡顿的问题,提供选择是否要开启元素与元素之间的连线。

from miaow.

bugluo avatar bugluo commented on May 24, 2024

已经提交一版默认关闭元素连线的版本,应该不会再有卡顿,想克制使用自动升级所以暂未提升版本号。
可以重新下载官网链接下的插件。

from miaow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.