边缘世界 RimWorld

边缘世界 RimWorld

106 个评价
Tooltips in Dev-mode
3
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
128.903 KB
4 月 25 日 上午 8:27
8 月 7 日 上午 10:10
4 项改动说明 ( 查看 )

订阅以下载
Tooltips in Dev-mode

在 Mlie 的 1 个合集中
Developed by me
111 件物品
描述


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.
  • Always post your log using the Log Uploader
  • 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
18 条留言
Mlie  [作者] 8 月 7 日 上午 5:51 
@Rondson BInary search is the fastest, remove half, check if its fixed, if not, remove half of whats left, if it is, test the other half until you find the mod
Rondson 8 月 7 日 上午 5:47 
How do I identify such a mod?
Mlie  [作者] 8 月 7 日 上午 5:46 
@Rondson You would need to find out what mod uses the devgui instead of the normal gui to show labels as the patch only patches the dev-mode label. There should be no reason for a mod to use the dev-gui for normal operations.
Rondson 8 月 7 日 上午 5:43 
Hi! I ran into an anomaly with high ticks with thid mod involved via performance analysis tool in ongoing save:

https://gyazo.com/cff1b7fec34678a34bb2eff48e2bd241

Do I need hugslib log to accompany the picrelated sceenshot?
Just 7 月 29 日 下午 5:21 
I think it works now. Please check PR on GitHub
Just 7 月 29 日 下午 5:08 
btw, each Log entry is drawing with the same Label Method.
Just 7 月 29 日 下午 4: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 ツ 7 月 26 日 上午 7:06 
Hmm, I'll try to figure it out, thanks!
Mlie  [作者] 7 月 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 ツ 7 月 26 日 上午 4:24 
Getting the same problem as @moo