Fix redbean date header in daemonize mode
This commit is contained in:
@ -428,6 +428,7 @@ static void OnUnzoom(long y, long x) {
|
||||
}
|
||||
|
||||
static void OnMouseLeftDrag(long y, long x) {
|
||||
int i;
|
||||
if (y == save_y && x == save_x) return;
|
||||
save_y = y;
|
||||
save_x = x;
|
||||
@ -440,7 +441,10 @@ static void OnMouseLeftDrag(long y, long x) {
|
||||
if (erase) {
|
||||
Unset(y, x);
|
||||
} else {
|
||||
Set(y, x);
|
||||
for (i = 0; i < (2 << zoom); ++i) {
|
||||
Set(y + (rand() % (zoom + 1)) - (rand() % (zoom + 1)),
|
||||
x + (rand() % (zoom + 1)) - (rand() % (zoom + 1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user