Allow to have float numbers when getting image information in reftest-analyzer
- outputScale can be e.g. 1.5 in real life.
This commit is contained in:
parent
60e9065bf6
commit
0a66e1f5ea
@ -225,7 +225,9 @@ window.onload = function () {
|
||||
});
|
||||
continue;
|
||||
}
|
||||
match = line.match(/^ {2}IMAGE[^:]*\((\d+)x(\d+)x(\d+)\): (.*)$/);
|
||||
match = line.match(
|
||||
/^ {2}IMAGE[^:]*\((\d+\.?\d*)x(\d+\.?\d*)x(\d+\.?\d*)\): (.*)$/
|
||||
);
|
||||
if (match) {
|
||||
const item = gTestItems[gTestItems.length - 1];
|
||||
item.images.push({
|
||||
|
Loading…
x
Reference in New Issue
Block a user