Can the default behavior of selected annotations be changed to avoid unwanted movement?

조회 수: 2 (최근 30일)
A common occurence in Figure manipulation is selecting an object (e.g. arrow, textbox, etc) for editting in the property inspector or in the command window with gco.
Recent versions of MATLAB now link the objects position to the cursor after the first click, unless a second click "fixes" the object in place. This is very cumbersome, because any mouse motion before that second click (like moving the cursor to the property inspector) accidently moves the object.
Is there any way to revert this setting?
  댓글 수: 4
Adam Danz
Adam Danz 2023년 4월 15일
편집: Adam Danz 2023년 4월 15일
Did you forget to attach the code?
I tried your steps with the snippet I shared but couldn't reproduce the results. Does this continue to happen after you restart MATLAB?
Joel Lynch
Joel Lynch 2023년 4월 15일
Yes, using your code snippet.
This does occur for me after a fresh start of MATLAB, on at least two machines. The one I have access to right now is 2022a.
They do share a common startup file I use, I will have to check if it occurs without that.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by