* Update FramerateCategory.hx * Update MemoryCounter.hx * Update FramerateCounter.hx * Update CodenameBuildField.hx
18 lines
429 B
Haxe
18 lines
429 B
Haxe
package funkin.backend.system.framerate;
|
|
|
|
import funkin.backend.system.macros.GitCommitMacro;
|
|
import openfl.text.TextField;
|
|
|
|
class CodenameBuildField extends TextField {
|
|
public function new() {
|
|
super();
|
|
defaultTextFormat = Framerate.textFormat;
|
|
autoSize = LEFT;
|
|
multiline = wordWrap = false;
|
|
reload();
|
|
}
|
|
|
|
public function reload()
|
|
text = 'Codename Engine ${Constants.RELEASE_CYCLE}\n${Constants.COMMIT_MESSAGE}';
|
|
}
|