Commit d248c34
committed
tooltip: Don't save style overrides to tooltip.tscn
Previously, if you opened tooltip.tscn in the editor and hit Save, its
`_ready()` method would persist the style overrides we use to apply the editor
theme's fonts to the label. This isn't necessary, or desirable.
Don't apply the style overrides if the tooltip scene itself is being edited.
https://phabricator.endlessm.com/T355401 parent 9146bd1 commit d248c34
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments