This adds a fix for #18 by making sure to round the stored values.
This shouldn't be necessary (the left and top values are pixel positions on the image) but in situations were the displayed image is zoomed or scaled in any way (e.g. if the screen has a 2x resolution but is set to a scaled value) the values returned are floats, which made the PropertyEditorValueConverter bail.
This adds a fix for #18 by making sure to round the stored values.
This shouldn't be necessary (the
left
andtop
values are pixel positions on the image) but in situations were the displayed image is zoomed or scaled in any way (e.g. if the screen has a 2x resolution but is set to a scaled value) the values returned are floats, which made thePropertyEditorValueConverter
bail.