Skip to content

Commit

Permalink
add support for zoom level of program images
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Tief <[email protected]>
  • Loading branch information
ptief committed Sep 21, 2022
1 parent 1bc1879 commit 2d3e3c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Image getImage() {
@Override
public ImageData getImageData(int zoom) {
if (program != null && program.getImageData() != null) {
return program.getImageData();
return program.getImageData(zoom);
}
return WorkbenchImages.getImageDescriptor(ISharedImages.IMG_OBJ_FILE).getImageData(zoom);
}
Expand Down

0 comments on commit 2d3e3c4

Please sign in to comment.