Jump to content

Problem with: "Run toggle command when clicking on button": true,

Work in Progress 2.0.72

Kobani
Kobani

Posted

If the setting "Run toggle command when clicking on button" is set to true, the button (menu) with the command "cb_toggle" stops working, but every other button that has "onCmdHide" set to false or null will still open and close buttons that have "onCmdHide" set to true.

Could you please fix this issue?

set the config like this 
 “Run toggle command when clicking on button": true,
and use the data here, then you know what I mean
 

{
  "menu": {
    "uiType": "Overlay",
    "panelType": "button",
    "OffsetMin": "-60 340",
    "OffsetMax": "60 370",
    "text": "cb_toggle button",
    "panelColor": "0 0 0 1",
    "panelChatCmd": "cb_toggle",
    "imageUrl": null,
    "imgAnchorMin": null,
    "imgAnchorMax": null,
    "onCmdHide": "false"
  },
  "Button001": {
    "uiType": "Overlay",
    "panelType": "button",
    "OffsetMin": "-180 480",
    "OffsetMax": "-60 510",
    "text": "Button 001",
    "panelColor": "0 0 0 1",
    "panelChatCmd": "command1",
    "imageUrl": null,
    "imgAnchorMin": null,
    "imgAnchorMax": null,
    "onCmdHide": "false"
  },
  "Button002": {
    "uiType": "Overlay",
    "panelType": "button",
    "OffsetMin": "-180 380",
    "OffsetMax": "-60 410",
    "text": "Button 002",
    "panelColor": "0 0 0 1",
    "panelChatCmd": "command2",
    "imageUrl": null,
    "imgAnchorMin": null,
    "imgAnchorMax": null,
    "onCmdHide": "false"
  },
  "Button003": {
    "uiType": "Overlay",
    "panelType": "button",
    "OffsetMin": "60 480",
    "OffsetMax": "180 510",
    "text": "Button 003",
    "panelColor": "0 0 0 1",
    "panelChatCmd": "command3",
    "imageUrl": null,
    "imgAnchorMin": null,
    "imgAnchorMax": null,
    "onCmdHide": "true"
  },
  "Button004": {
    "uiType": "Overlay",
    "panelType": "button",
    "OffsetMin": "60 380",
    "OffsetMax": "180 410",
    "text": "Button 004",
    "panelColor": "0 0 0 1",
    "panelChatCmd": "command4",
    "imageUrl": null,
    "imgAnchorMin": null,
    "imgAnchorMax": null,
    "onCmdHide": "true"
  }
}

 

David

Posted

Changed Status from Pending to Work in Progress

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.