bombsquad-community / plugin-manager

A Plugin Manager for Bombsquad 1.7+
https://bombsquad-community.web.app/pluginmanager
Other
40 stars 29 forks source link

Add partition function #97

Closed kingsamurai123 closed 1 year ago

kingsamurai123 commented 1 year ago

Added the partition function to 'PluginWindow' class. This function inserts new line breaks, for a specific character offset count. #89

rikkolovescats commented 1 year ago

looks on the right track, does calling partition() for plugin description when displaying plugin window not work?

kingsamurai123 commented 1 year ago

image This is the output if i use 'partition(self.plugin.info["description"])'.

kingsamurai123 commented 1 year ago

image Moving the function into a different function helped fixing the above issue. But not sure if that is recommended or not. What do you think about it?

rikkolovescats commented 1 year ago

Thanks @kingsamurai123!