summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-01-17 10:57:57 +0100
committerGitea <gitea@fake.local>2023-01-28 11:23:11 +0100
commit6ffc64a04e5e4200103db9df6bd85f958a942d9f (patch)
tree9bb359d9c056189701041032944bed9706fb23aa /commands.c
parent1f788a318bedc0e6a83632c1f126e747c0430d6c (diff)
downloadnsxiv-6ffc64a04e5e4200103db9df6bd85f958a942d9f.tar.zst
img_t: rename alpha -> alpha_layer for consistency
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 1ba0363..c1e19b4 100644
--- a/commands.c
+++ b/commands.c
@@ -385,7 +385,7 @@ bool ci_toggle_antialias(arg_t _)
bool ci_toggle_alpha(arg_t _)
{
- img.alpha = !img.alpha;
+ img.alpha_layer = !img.alpha_layer;
img.dirty = true;
return true;
}