17fe5238421ff301f2b7360c96db92104e405094
chmalee
  Tue May 12 12:09:08 2026 -0700
myVariants fixes: widen drag-select dialog a bit to fit the new button, save only the actual variant position, not the variant plus padding position when making a variant out of an hgvs term, refs #33808

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 20bf397876c..917a04ec2d8 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -2151,31 +2151,31 @@
                         loadingId: showLoadingImage("imgTbl"),
                         cache: false
                     });
             };
         }
         dragSelectButtons.Cancel = function() {
             $(this).dialog("close");
         };
         $(dragSelectDialog).dialog({
                 modal: true,
                 title: "Drag-and-select",
                 closeOnEscape: true,
                 resizable: false,
                 autoOpen: false,
                 revertToOriginalPos: true,
-                minWidth: 650,
+                minWidth: 750,
                 buttons: dragSelectButtons,
 
                 open: function () { // Make zoom the focus/default action
                    $(this).parents('.ui-dialog-buttonpane button:eq(0)').trigger("focus");
                 },
 
                 close: function() {
                     // All exits to dialog should go through this
                     $(imageV2.imgTbl).imgAreaSelect({hide:true});
                     if ($(this).dialog("option", "revertToOriginalPos"))
                         genomePos.revertToOriginalPos();
                     if ($("#disableDragHighlight").prop('checked'))
                         $(this).remove();
                     else
                         $(this).hide();