Trying new button configuration
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
Hooks.on('init', function () {
|
||||
Hooks.on('getSceneControlButtons', (controls: SceneControl[]) => {
|
||||
controls.find(x => x.name === 'token').tools.push({
|
||||
icon: 'fas fa-refresh',
|
||||
name: 'rotateView',
|
||||
title: 'on-site-vtt.rotate',
|
||||
visible: true,
|
||||
toggle: false,
|
||||
active: false,
|
||||
onClick: () => rotateView()
|
||||
icon: 'fas fa-refresh',
|
||||
onClick: () => rotateView(),
|
||||
button: true
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user