Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Players dont see the carousel by default #124

Open
yjeroen opened this issue Jan 13, 2022 · 1 comment
Open

Players dont see the carousel by default #124

yjeroen opened this issue Jan 13, 2022 · 1 comment
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@yjeroen
Copy link

yjeroen commented Jan 13, 2022

Describe the bug
Players dont see the carousel by default

To Reproduce
Steps to reproduce the behavior:

  1. Enable carousel to start with combat
    image

  2. Both GM and Trusted player have the following sidebar setting:
    image

  3. Start combat by clicking on the Toggle Combat State icon:
    image

  4. GM sees correctly the carousel, with the scene buttons hidden:
    image

  5. Trusted Player does not see the carousel, scene buttons are still shown.
    image
    Important to note is that the sidebar icon DID change from gray to white.

Expected behavior
I would have expected the Trusted Player to see the same as the GM.

Environment Info (please complete the following information):
image

  • CC Version: 0.2.5
  • Browser: Chrome Version 97.0.4692.71 (Official Build) (64-bit)
  • OS: Windows 10
@yjeroen yjeroen added the bug Something isn't working label Jan 13, 2022
@yjeroen
Copy link
Author

yjeroen commented Jan 13, 2022

Developer on Discord mentioned he has no intention to change this behavior.

If anyone else wants to change this behavior just for your world, add a custom.js file to your world and in your world.json add it to your scripts variable.

Add the following in your custom script:

Hooks.on("ready", async function () {

	// Set defeault client settings of Combat Carousel if the setting "Collapse Navigation Bar" is not activated (which is usually the default setting or if the module is not loaded)
	if ( ! game.settings.get('combat-carousel', 'collapseNav') ) {
		console.log('World script | '+game.world.id+' | Combat Carousel detected - setting GM preferred client settings.');
		game.settings.set('combat-carousel', 'collapseNav', true);
		game.settings.set('combat-carousel', 'openOnCombatCreate', true);
		game.settings.set('combat-carousel', 'carouselSize', 'sm');
		game.settings.set('combat-carousel', 'panOnClick', true);
		game.settings.set('combat-carousel', 'alwaysOnTop', true);
	}
	
});

@eclarke12 eclarke12 added the wontfix This will not be worked on label Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants