Skip to content

Commit

Permalink
Fix incorrect gravity value mapping for Bottom Left (#34)
Browse files Browse the repository at this point in the history
Corrects the return value for "Bottom Left" string in gravity enum mapping from BottomRight to BottomLeft.
  • Loading branch information
wyu71 authored Feb 27, 2025
1 parent cb9aee2 commit 53cf2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk3/fcitxtheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Gravity getValue(GKeyFile *configFile, const char *group, const char *key,
} else if (value == "Center Right") {
return Gravity::CenterRight;
} else if (value == "Bottom Left") {
return Gravity::BottomRight;
return Gravity::BottomLeft;
} else if (value == "Bottom Center") {
return Gravity::BottomCenter;
} else if (value == "Bottom Right") {
Expand Down

0 comments on commit 53cf2b7

Please sign in to comment.