Skip to content

Commit

Permalink
Typo Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahzaibIbrahim committed Sep 19, 2024
1 parent 0afa016 commit 3cf5e46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1157,9 +1157,9 @@ LRESULT wmDrawChild(long wParam, long lParam) {
gc.fillRectangle(menuItemArea);


int xPoisitonText = DPIUtil.scaleDown(x, zoom) + LEFT_TEXT_MARGIN + (this.image != null ? this.image.getBounds().width + ADDED_IMAGE_WIDTH : 0);
int xPosiitonText = DPIUtil.scaleDown(x, zoom) + LEFT_TEXT_MARGIN + (this.image != null ? this.image.getBounds().width + ADDED_IMAGE_WIDTH : 0);
int yPositionText = DPIUtil.scaleDown(struct.top , zoom) + MARGIN_HEIGHT;
gc.drawText(drawnText, xPoisitonText, yPositionText, flags);
gc.drawText(drawnText, xPosiitonText, yPositionText, flags);
}
if (image != null) {
Image image = getEnabled() ? this.image : new Image(display, this.image, SWT.IMAGE_DISABLE);
Expand Down

0 comments on commit 3cf5e46

Please sign in to comment.