Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

Waterfall.setAutoCenter

Options
Walt - KZ1F
Walt - KZ1F Member ✭✭
edited February 2017 in SmartSDR API
Eric or Steve:

WaterFall.setAutoCenter:471

Shouldn't the RaiseProperty be inside the evaluation?

if (_autoCenter != value) {
     autoCenter = value;
     RaiseProperyChanged("AutoCenter");
}

A similar change was done for Size.

Answers

  • Eric-KE5DTO
    Eric-KE5DTO Administrator, FlexRadio Employee admin
    edited February 2017
    Options
    Yes, it probably should be inside the if statement to prevent unnecessary propagation of events when nothing has changed.  Good find.  Thanks for bringing this to our attention.  We'll get this fixed up.
  • Walt - KZ1F
    Walt - KZ1F Member ✭✭
    edited November 2016
    Options
    I realized it wasn't going to save much CPU or UI time but, look at it this way, you've got a bunch of free desk checkers...if nothing else.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.