mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-24 06:10:36 +01:00
Added emoji rendering in input field
This commit is contained in:
parent
d453ca2abb
commit
eb4af3c56b
@ -388,6 +388,9 @@ class SidebandApp(MDApp):
|
|||||||
LabelBase.register(name="emoji",
|
LabelBase.register(name="emoji",
|
||||||
fn_regular=fb_path+"NotoEmoji-Regular.ttf")
|
fn_regular=fb_path+"NotoEmoji-Regular.ttf")
|
||||||
|
|
||||||
|
LabelBase.register(name="default_input",
|
||||||
|
fn_regular=fb_path+"DefaultInput.ttf")
|
||||||
|
|
||||||
LabelBase.register(name="combined",
|
LabelBase.register(name="combined",
|
||||||
fn_regular=fb_path+"NotoSans-Regular.ttf",
|
fn_regular=fb_path+"NotoSans-Regular.ttf",
|
||||||
fn_bold=fb_path+"NotoSans-Bold.ttf",
|
fn_bold=fb_path+"NotoSans-Bold.ttf",
|
||||||
@ -397,7 +400,7 @@ class SidebandApp(MDApp):
|
|||||||
def update_input_language(self):
|
def update_input_language(self):
|
||||||
language = self.sideband.config["input_language"]
|
language = self.sideband.config["input_language"]
|
||||||
if language == None:
|
if language == None:
|
||||||
self.input_font = "Roboto"
|
self.input_font = "default_input"
|
||||||
RNS.log("Setting input language to default set", RNS.LOG_DEBUG)
|
RNS.log("Setting input language to default set", RNS.LOG_DEBUG)
|
||||||
else:
|
else:
|
||||||
self.input_font = language
|
self.input_font = language
|
||||||
|
Loading…
Reference in New Issue
Block a user