jegasus / scene-clicker

A FoundryVTT module that changes the behavior of left clicking on Scenes and Scene Links. Left-clicking on a Scene/Scene Link "Views" the Scene instead of displaying the Scene Config Sheet.
GNU General Public License v3.0
1 stars 3 forks source link
foundry foundry-vtt foundryvtt

GitHub All Releases
Latest Release Download Count Forge Installs

Scene Clicker

A FoundryVTT module that changes the behavior of left clicking on a Scene or a Scene Link. When this module is activated, left-clicking on a Scene or a Scene Link will "view" the Scene instead of rendering the Scene Config Sheet.

Installation and setup

The Scene Clicker module requires you to install ruipin's libWrapper library.

Activating both modules in your world will override the left-click behavior on Scenes.

Instructions

Additional options: hold Ctrl to Activate the Scene or hold Alt to render the Config Sheet.

Journal scaler in action

Journal scaler in action with Journal links

Changelog

0.0.11 - Released on 2022-01-09

Again, enormous thanks to Alessio Calì for making the required changes to update the Scene Clicker module for Foundry V9.

0.0.10 - Released on 2021-08-01

Enormous thanks to Alessio Calì for making the required changes to update the Scene Clicker module for Foundry 0.8.x.

Removed the use of the libWrapper shim. Now, the full libWrapper library is required to run this module.

0.0.9 - Released on 2021-03-19

Added extra functionality: The hotkeys now work when clicking on the Scenes in the navigation bar too!

0.0.8 - Released on 2021-03-10

Added extra functionality: Use Ctrl+LeftClick to Activate Scene and Alt+LeftClick to Render the Scene Config Sheet.

0.0.7 - Released on 2021-01-10

Added support to clicks on Journal links. Special thanks to ruipin for his help troubleshooting!!!!

0.0.6 - Released on 2020-12-25

Initial release. Merry Christmas, y'all <3

Acknowledgements

LoFD's Module Template

This module relied heavily on The League of Foundry Developer's FoundryVTT Module Template. This is a great resource to get started in developing cool stuff for FoundryVTT!

ruipin's libWrapper

This module uses ruipin's libWrapper library. Take a look at his stuff if you want to develop modules for FVTT that override its default behaviors.

D20 Day Hackathon

This module was originally developed during the D20 Day Hackathon in 2020.

Important note

A part of the module still needs to be re-written - specifically, the wrapper on the SidebarDirectory.prototype._onClickEntityName function. This will be deprecated in 0.9.x and needs to be updated to the Document#documentName property instead.