Add new comment to Mouse Wheel speds to control "Direct Access" in plugins

what about this?

				float fDelta = (pWheelEvent->angleDelta().y() < 0 ? -0.1f : +0.1f);
				if (pDirectAccessParam->isToggled())
					fDelta *= 10.0f;
				else
				if (pDirectAccessParam->isInteger()) {
					const float fNumSteps
						= pDirectAccessObserver->maxValue()
						- pDirectAccessObserver->minValue();
					fDelta *= (10.0f + fDelta) / fNumSteps;
					if ((fNumSteps > 10.0f) &&
						(pWheelEvent->modifiers() & Qt::ShiftModifier)) {
						fDelta *= 2.0f;
					}
				} else {
					fDelta *= 0.5f;
					if (pWheelEvent->modifiers() & Qt::ControlModifier)
						fDelta *= 0.5f;
				}

check it out,... please?

cheers

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.