Hi
I have found that after the last WME update this script dramatically slows down WME when panning it around...
I have found that after the last WME update this script dramatically slows down WME when panning it around...
Hiturbomkt wrote:I think it also throws a lot of errors in the console - possibly the source for the slow down?
Code: Select all
// - tunnel
else if (selectedRoadType == 65 && attributes.flags & 1) {
newColor = "teal";
// Railway tunnels
newOpacity = (attributes.roadType == 18) ? 0.4 : 1;
switch (attributes.level){
case -1:
newColor = "green";
break;
case -2:
newColor = "blue";
break;
case -3:
newColor = "purple";
break;
case -4:
newColor = "red";
break;
case -5:
newColor = "darkblue";
break;
case -6:
newColor = "black";
break;
case -7:
newColor = "darkblue";
newDashes = "6 10";
break;
case -18:
newColor = "black";
newDashes = "6 10";
}
}
Thanks!Timbones wrote:Here's a update for you guys - v2.30 on Greasyfork:
- Added "Tunnel / Elevation" to Highlight a Road Type, under Special Flags [thanks Rickendude]
- Added the other special flags too: headlights, beacons, nearby HOV (using local translations)
- Added a new highlight for Lane Guidance
- Advanced options now shown to all users
- Tweaked city highlight to improve visibility
- Fixed initialisation of current city on load
- Fixed user list to show ranks correctly
- Removed No Direction and Soft Turn / U Turn highlights
Code: Select all
case -8:
newColor = "black";
newDashes = "6 10";
When the WME Colour Highlight is been enable.Timbones wrote:Can you provide more information? I can't replicate this problem on my setup.Olestas wrote:Hmm.. there is some problem with latest version. If I select any place, it cannot be deselected. When disabling script, everything back to normal.
Already re-install the WMECH from the link, but still not function in Fire Fox, the WMECH tab didn't show up at the left panel.Timbones wrote:It certainly sounds like it; I still can't replicate it.dummyd2 wrote:looks like a timing issue:
Anyway, I've updated the script (v2.5.1) to wait a bit longer before attempting to initialise. Let me know if that helps.
This issue already happen in FF for some time. As for me the WMECH tab never load only the place colour will on & off everytime refresh the WME.JakArtisan wrote:I'm using Firefox 42.0. For some reason, this script sometimes doesn't load. It usually appears when I just log in, but once I refresh the editor or open another in a new tab, the highlights tab isn't there. Also, the script has a yellow background when I view it on the Add-ons menu in Firefox.
I'm wondering if anyone here had a similar issue and solved it.
Re: [Script] WME Color Highlights - 2.25 May 2018