Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Not correctly display a portion of the BMP #1

Merged
merged 1 commit into from
May 14, 2018

Conversation

allc
Copy link
Contributor

@allc allc commented May 11, 2018

Fix the following issue:

  • When trying to display a portion of the BMP onto the LCD, it does not work correctly, though it works fine if trying to display the top left of the BMP
    E.g.
    rectangle rect;
    rect.top = 10;
    rect.left = 10; /* though it works fine if top and left are 0 */
    rect.bottom = 20;
    rect.right = 20;
    if (stat == STATUS_OK) {
        display_segment_bmp(0, 0, &rect, &image_state);
    }

@Spoffy
Copy link
Owner

Spoffy commented May 14, 2018

Glad to see someone's using this, thanks for the fix! :) 👍

@Spoffy Spoffy closed this May 14, 2018
@Spoffy Spoffy reopened this May 14, 2018
@Spoffy Spoffy merged commit 04edec5 into Spoffy:master May 14, 2018
@allc allc deleted the fix-display-bmp branch May 14, 2018 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants