V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
fenx
V2EX  ›  macOS

10.15 (19A487m) 里的 checkbox 问题

  •  
  •   fenx · Jun 27, 2019 · 1691 views
    This topic created in 2506 days ago, the information mentioned may be changed or developed.

    如图是 Sketch 的 confetti ( 1.2 )插件,10.14 好好的,10.15 后就死在了那里,毫无反应……

    设计师不懂代码,.cocoascript 文件里找了下相关代码:

    // Configure checkboxes
    
      opacityCheckbox.setButtonType(NSSwitchButton);
      opacityCheckbox.setBezelStyle(0);
      opacityCheckbox.setTitle("Randomize opacity (70% - 100%)");
      opacityCheckbox.setState(getOpacityValue(context));
    
      rotationCheckbox.setButtonType(NSSwitchButton);
      rotationCheckbox.setBezelStyle(0);
      rotationCheckbox.setTitle("Randomize rotation");
      rotationCheckbox.setState(getRotationValue(context));
    
      randomSizeCheckbox.setButtonType(NSSwitchButton);
      randomSizeCheckbox.setBezelStyle(0);
      randomSizeCheckbox.setTitle("Randomize size");
      randomSizeCheckbox.setState(getRandomSizeValue(context));
    

    这有临时救治方法吗…虽然不是日常经常使用的东西,但有些插件常年不更,这样下去有点亏。

    (记得 10.14 beta 时的 Chrome 的 checkbox 就被爆破了,没想到这次又被针对了)

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   950 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:48 · PVG 03:48 · LAX 12:48 · JFK 15:48
    ♥ Do have faith in what you're doing.