RimWorld
Оценок: 97
Tooltips in Dev-mode
2
2
   
Наградить
В избранное
В избранном
Удалить
Mod, 1.5, 1.6
Размер файла
Добавлен
Изменён
128.849 KB
25 апр в 8:27
30 июл в 4:41
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
Tooltips in Dev-mode

В 1 коллекции, созданной Mlie
Developed by me
Предметов: 109
Описание


Finding things in Dev-mode can sometimes be tricky as the buttons has a fixed text-width.
Mods often has a prefix to their definitions causing many buttons show the same text, forcing trial and error to find the right one.

This mod adds a tooltip with the label-text for all buttons in the dev-mode windows whenever the text does not fit the button.

[discord.gg]
[github.com]


Since modding is just a hobby for me I expect no donations to keep modding. If you still want to show your support you can gift me anything from my Wishlist or buy me a cup of tea.

[ko-fi.com]


  • See if the the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Post your error-log using the Log Uploader or the standalone Uploader and command Ctrl+F12
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort[github.com] to sort your mods

| tags: dev-mode, layout
Комментариев: 14
Just 29 июл в 17:21 
I think it works now. Please check PR on GitHub
Just 29 июл в 17:08 
btw, each Log entry is drawing with the same Label Method.
Just 29 июл в 16:54 
I also experienced an increase in lag with a lot of mods, when in "Spawn Thing" menu. There are 6400 items. I checked different approaches.

The most simple and effective one is to simple remove calculation of label length. Just allow them to be displayed always, regardless of length. It brings performance back to original right away.

I tried also another approach with caching the data only first time menu is opened and clear it when menu is closed. But I encountered side effects (there are different debug windows and need to check all of them correctly to prevent leakage through cache).
Soaryn ツ 26 июл в 7:06 
Hmm, I'll try to figure it out, thanks!
Mlie  [создатель] 26 июл в 6:06 
Not sure what mods you are using that calls the DevGUI when idle?
When I test it it will only show up in performance analyzer when you have a dev-mode window open as those are the only methods it patches.
Soaryn ツ 26 июл в 4:24 
Getting the same problem as @moo
moo 7 июл в 20:13 
Hi. With performance analyzer out and a heavy modpack, this mod is drawing an average of over 5ms / frame when idle.
Comton 29 июн в 2:16 
Rimgoat as ever !
RojoMuerte 26 апр в 10:34 
Okay, thank you. I'm not familiar with Discord, I'll see if I can find it.
Mlie  [создатель] 25 апр в 22:49 
@RojoMuerte Please post the link to the mod you want to request in the mod-requests channel of the Discord server as this saves me a lot of admin-time.