From 27d79b4e0441522ee5a2c65de790588fa608d96c Mon Sep 17 00:00:00 2001 From: Wang Yu Date: Thu, 27 Feb 2025 11:33:21 +0800 Subject: [PATCH] Fix incorrect gravity value mapping for Bottom Left Corrects the return value for "Bottom Left" string in gravity enum mapping from BottomRight to BottomLeft. --- gtk3/fcitxtheme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk3/fcitxtheme.cpp b/gtk3/fcitxtheme.cpp index bba5225..bc1586a 100644 --- a/gtk3/fcitxtheme.cpp +++ b/gtk3/fcitxtheme.cpp @@ -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") {