 = obj.part.data.value;
        },
        actionMove: (e, obj) => {
          if (!obj._dragging) return;
          var scale = obj.part.findObject('SCALE');
          var pt = e.diagram.lastInput.documentPoint;
          var loc = scale.getLocalPoint(pt);
          var val = Math.round(scale.graduatedValueForPoint(loc));
          // just set the data.value temporarily, not recorded in UndoManager
          e.diagram.model.commit((m) => {
            m.set(obj.part.data, 'value', val);
          }, null);