unintellisense Posted August 11, 2017 Share Posted August 11, 2017 Hello! I am not using ActionManagers or anything like that in a particular scene, but I would like to change the default cursor for my scenes to something else. I found that babylon will set style.cursor back to "" if it doesn't detect a mesh to use the hoverCursor property for. I changed my fork to instead refer to a defaultCursor property in babylon.scene.ts which defaults to the same empty string that is being used in the _onPointerMove function when it doesn't determine it should set the hoverCursor property for. Is that something that might be interesting to merge in? If so, I'll make a pull request. Thanks for a awesome library as always. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 11, 2017 Share Posted August 11, 2017 Yeah good idea please go ahead with a PR Quote Link to comment Share on other sites More sharing options...
unintellisense Posted August 12, 2017 Author Share Posted August 12, 2017 What I don't understand is why when I pull babylon.js master and build (without making any changes to ts files), the /dist files generated already shows diffs. It looks like it is just placing things into a different order, but do not understand why? I cleaned node_modules from tools/gulp to be on the safe side, but same results. Anyway, here is the PR, thanks https://github.com/BabylonJS/Babylon.js/pull/2661 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 14, 2017 Share Posted August 14, 2017 Yeah this happens to me as well. Seems like it depends on the version of TS you are using Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.