2961c25331a73eba4ddbca0b848b43e4a467fa75
chmalee
  Thu Jul 23 11:12:40 2026 -0700
Trying this again. Let users use a rightclick option to change the color of single bed-like items, gated via hg.conf setting canColorItems, refs #37778

diff --git src/product/ex.hg.conf src/product/ex.hg.conf
index 4dc6783433d..d0da11a980d 100644
--- src/product/ex.hg.conf
+++ src/product/ex.hg.conf
@@ -689,30 +689,34 @@
 # A filename of "<>" means "no file", just the default CSS settings.
 #browser.theme.1.Default=<>
 #browser.theme.2.Classic=theme-classic.css
 #browser.theme.3.Sans_Serif=theme-modern.css
 #browser.theme.4.Light_Blue=theme-lightBlue.css
 #browser.theme.5.Dark=theme-dark.css
 
 # print the javascript includes to the following external javascript libraries that allow
 # the interactive tutorial to work:
 # https://cdn.jsdelivr.net/npm/shepherd.js@11.0.1/dist/css/shepherd.css
 # https://cdn.jsdelivr.net/npm/shepherd.js@11.0.1/dist/js/shepherd.min.js
 # Having this variable off will cause the files to not be included and so the tutorial link
 # in the help menu won't work
 #showTutorial=on
 #
+# Enable the right-click "Color this item" menu, which lets a user recolor a single
+# track item's glyph or draw a background highlight behind it. Off by default.
+#canColorItems=on
+#
 # For more details on the three settings below, see #33812 (UCSC internal reference)
 # maxItemsPossible=100000 # Sets the maximum possible value in hg.conf that users can set in 
 # trackDb for maxItems, currently defaults to 100,000.
 #
 # bigBedMaxItems=100000 # Affects data pre-filtered. Default is 10k, currently set to 100k in 
 # UCSC live sites. Maximum number of items fetched from bigBed file. If the number of the items in the 
 # displayed region is greater than allowed (which is 100k in RR now), the track goes into coverage 
 # mode drawn by the summary/zoom levels in the bigBed. If a filter is set, the track will display the 
 # message "Too many items in window to filter.Zoom in or remove filters to view track.".
 #
 # vcfMaxItems=10000 # Default is 10k, no other RR value. Maximum number of items fetched from file. 
 # If the number of the items in the displayed region is greater than allowed (which is 10k in RR now), 
 # the track area will have the message "Too many items in region. Zoom in to view track.".
 #
 # The setting below is used to set a default cart for mirrors that will load the settings