Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show-less-portals-zoomed-out: is nonfunctional #1295

Open
johnd0e opened this issue Dec 14, 2018 · 0 comments
Open

show-less-portals-zoomed-out: is nonfunctional #1295

johnd0e opened this issue Dec 14, 2018 · 0 comments

Comments

@johnd0e
Copy link

johnd0e commented Dec 14, 2018

Here is all the code:

window.plugin.defaultIntelDetail.setup = function() {
// NOTE: the logic required is closely tied to the IITC+stock map detail level code - so the logic is moved there now
// and just enabled by this flag
window.CONFIG_ZOOM_DEFAULT_DETAIL_LEVEL=true;
};

And that is why it is unable to work:

// if (window.CONFIG_ZOOM_SHOW_LESS_PORTALS_ZOOMED_OUT) {
// if (level <= 7 && level >= 4) {
// // reduce portal detail level by one - helps reduce clutter
// level = level+1;
// }
// }

That code was commented in this commit: bb29578

I haven't checked if the code is still functional, anyway intended function of plugin is not so obvious and need to be more clearly explained in it's description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant