Project

General

Profile

Bug #1566

enableobj 脚本函数部分情况下设置可点击不生效问题

Added by zhenyu yu over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
08/12/2021
Due date:
08/12/2021
% Done:

100%

Estimated time:
2.00 h
Defect version:

Description

问题描述:
某些情况下图元触发脚本多次调用enableobj函数,且对同一图元对象多次设置不可点击时,会在图元触发脚本函数字符串首尾多次加上“/*”“*/”字符,以达到设置其不可点击的目的。
但是当再次设置该图元可点击时只会删除一次“/*”“*/”字符,使图元触发脚本不生效。

解决方法:
设置图元可点击时,删除触发脚本函数字符串中所有的“/*”“*/”字符。

History

#1

Updated by zhenyu yu over 3 years ago

  • Status changed from New to Resolved
  • Estimated time set to 2.00 h

Also available in: Atom PDF