Skip to content

Remote call Array reference does not work (for twice). #6435

@codehz

Description

@codehz
  • Electron version:1.2.6
  • Operating system:Windows 10 x64
//renderer process
const flags = ['disabled'];
    currentWindow.setThumbarButtons([{
        tooltip: 'rewind',
        icon: path.join(__dirname, 'rewind.png'),
        flags
    }, {
        tooltip: this.state === 'play' ? 'pause' : 'play',
        icon: path.join(__dirname, 'play.png'),
        flags
    }, {
        tooltip: 'forward',
        icon: path.join(__dirname, 'forward.png'),
        flags
    }]);

Only the first one disabled...It should be IRC(remote module)'s bug, because it does work in main process

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions