mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Fixed of the warnings.
+ Some small bug-fixing related to the system colors change on MacOS ("Set..." buttons didn't respect to the system color change)
This commit is contained in:
parent
d3ddb1cfa8
commit
888a5e3084
7 changed files with 16 additions and 27 deletions
|
@ -179,8 +179,8 @@ static void add_lock(wxImage& image)
|
|||
|
||||
size_t beg_x = width - lock_width;
|
||||
size_t beg_y = height - lock_height;
|
||||
for (size_t x = 0; x < lock_width; ++x) {
|
||||
for (size_t y = 0; y < lock_height; ++y) {
|
||||
for (size_t x = 0; x < (size_t)lock_width; ++x) {
|
||||
for (size_t y = 0; y < (size_t)lock_height; ++y) {
|
||||
const size_t lock_idx = (x + y * lock_width);
|
||||
if (lock_a_data && lock_a_data[lock_idx] == 0)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue