mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:43:03 +02:00
Changed 2 icons
This commit is contained in:
parent
d2ba1ea769
commit
d7e135c831
2 changed files with 3 additions and 4 deletions
|
@ -77,7 +77,7 @@ function setupToolBars() {
|
||||||
}, true, true));
|
}, true, true));
|
||||||
|
|
||||||
playIcon[i] = toolBars[i].addTool({
|
playIcon[i] = toolBars[i].addTool({
|
||||||
imageURL: TOOL_ICON_URL + "play-pause.svg",
|
imageURL: TOOL_ICON_URL + "play.svg",
|
||||||
subImage: { x: 0, y: 0, width: Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
subImage: { x: 0, y: 0, width: Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
||||||
width: Tool.IMAGE_WIDTH,
|
width: Tool.IMAGE_WIDTH,
|
||||||
height: Tool.IMAGE_HEIGHT,
|
height: Tool.IMAGE_HEIGHT,
|
||||||
|
|
|
@ -59,16 +59,15 @@ function setupToolBar() {
|
||||||
visible: true
|
visible: true
|
||||||
}, true, !MyAvatar.isRecording());
|
}, true, !MyAvatar.isRecording());
|
||||||
|
|
||||||
|
var playLoopWidthFactor = 1.65;
|
||||||
playIcon = toolBar.addTool({
|
playIcon = toolBar.addTool({
|
||||||
imageURL: TOOL_ICON_URL + "play-pause.svg",
|
imageURL: TOOL_ICON_URL + "play-pause.svg",
|
||||||
subImage: { x: 0, y: 0, width: Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
width: playLoopWidthFactor * Tool.IMAGE_WIDTH,
|
||||||
width: Tool.IMAGE_WIDTH,
|
|
||||||
height: Tool.IMAGE_HEIGHT,
|
height: Tool.IMAGE_HEIGHT,
|
||||||
alpha: (MyAvatar.isRecording() || MyAvatar.playerLength() === 0) ? ALPHA_OFF : ALPHA_ON,
|
alpha: (MyAvatar.isRecording() || MyAvatar.playerLength() === 0) ? ALPHA_OFF : ALPHA_ON,
|
||||||
visible: true
|
visible: true
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
var playLoopWidthFactor = 1.65;
|
|
||||||
playLoopIcon = toolBar.addTool({
|
playLoopIcon = toolBar.addTool({
|
||||||
imageURL: TOOL_ICON_URL + "play-and-loop.svg",
|
imageURL: TOOL_ICON_URL + "play-and-loop.svg",
|
||||||
subImage: { x: 0, y: 0, width: playLoopWidthFactor * Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
subImage: { x: 0, y: 0, width: playLoopWidthFactor * Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
||||||
|
|
Loading…
Reference in a new issue